File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ public class Gala.PositionedWindow : Object {
2929 public Position position { get ; construct set ; }
3030 public Variant ? position_data { get ; construct set ; }
3131
32+ private ulong position_changed_id;
33+
3234 public PositionedWindow (Meta . Window window, Position position, Variant ? position_data = null ) {
3335 Object (window: window, position: position, position_data: position_data);
3436 }
@@ -37,7 +39,7 @@ public class Gala.PositionedWindow : Object {
3739 window. stick ();
3840
3941 window. size_changed. connect (position_window);
40- window. position_changed. connect (position_window);
42+ position_changed_id = window. position_changed. connect (position_window);
4143 window. shown. connect (position_window);
4244
4345 unowned var monitor_manager = window. display. get_context (). get_backend (). get_monitor_manager ();
@@ -73,6 +75,8 @@ public class Gala.PositionedWindow : Object {
7375 break ;
7476 }
7577
78+ SignalHandler . block (window, position_changed_id);
7679 window. move_frame (false , x, y);
80+ SignalHandler . unblock (window, position_changed_id);
7781 }
7882}
You can’t perform that action at this time.
0 commit comments