File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/Widgets/MultitaskingView Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ public class Gala.WindowClone : ActorTarget, RootTarget {
103103 window. notify[" fullscreen" ]. connect (check_shadow_requirements);
104104 window. notify[" maximized-horizontally" ]. connect (check_shadow_requirements);
105105 window. notify[" maximized-vertically" ]. connect (check_shadow_requirements);
106- window. size_changed . connect (() = > request_reposition () );
106+ window. notify[ " minimized " ] . connect (update_targets );
107107 window. position_changed. connect (update_targets);
108+ window. size_changed. connect (() = > request_reposition ());
108109
109110 if (overview_mode) {
110111 var click_action = new Clutter .ClickAction ();
@@ -153,6 +154,8 @@ public class Gala.WindowClone : ActorTarget, RootTarget {
153154 window. notify[" fullscreen" ]. disconnect (check_shadow_requirements);
154155 window. notify[" maximized-horizontally" ]. disconnect (check_shadow_requirements);
155156 window. notify[" maximized-vertically" ]. disconnect (check_shadow_requirements);
157+ window. notify[" minimized" ]. disconnect (update_targets);
158+ window. position_changed. disconnect (update_targets);
156159 }
157160
158161 private void reallocate () {
You can’t perform that action at this time.
0 commit comments