@@ -57,7 +57,7 @@ public class Gala.WindowCloneContainer : ActorTarget {
5757 if (clone == null ) {
5858 clone = new WindowClone (wm, window, monitor_scale, overview_mode);
5959 clone. selected. connect ((_clone) = > window_selected (_clone. window));
60- clone. request_reposition. connect (() = > reflow ( false ) );
60+ clone. request_reposition. connect (reflow);
6161 bind_property (" monitor-scale" , clone, " monitor-scale" );
6262 }
6363
@@ -76,7 +76,7 @@ public class Gala.WindowCloneContainer : ActorTarget {
7676
7777 // Don't reflow if only the sorting changed
7878 if (to_remove. size () > 0 || added != removed) {
79- reflow (false );
79+ reflow ();
8080 }
8181 }
8282
@@ -97,7 +97,7 @@ public class Gala.WindowCloneContainer : ActorTarget {
9797 }
9898
9999 windows. sort ();
100- reflow (true );
100+ reflow ();
101101 } else if (action == MULTITASKING_VIEW ) { // If we are open we only want to restack when we close
102102 windows. sort ();
103103 }
@@ -121,7 +121,7 @@ public class Gala.WindowCloneContainer : ActorTarget {
121121 /**
122122 * Recalculate the tiling positions of the windows and animate them to the resulting spots.
123123 */
124- private void reflow (bool view_toggle ) {
124+ private void reflow () {
125125 if (! opened || get_n_children () == 0 ) {
126126 return ;
127127 }
@@ -148,7 +148,7 @@ public class Gala.WindowCloneContainer : ActorTarget {
148148 };
149149
150150 foreach (var tilable in calculate_grid_placement (area, windows)) {
151- tilable. clone. take_slot (tilable. rect, ! view_toggle );
151+ tilable. clone. set_slot (tilable. rect);
152152 }
153153 }
154154
0 commit comments