File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -2145,7 +2145,14 @@ namespace Gala {
21452145 unowned Meta . Display display = get_display ();
21462146 unowned var active_workspace = display. get_workspace_manager (). get_active_workspace ();
21472147 unowned var neighbor = active_workspace. get_neighbor (cancel_direction);
2148- neighbor. activate (display. get_current_time ());
2148+
2149+ if (moving != null ) {
2150+ move_window (moving, neighbor, Meta . CURRENT_TIME );
2151+ } else {
2152+ neighbor. activate (display. get_current_time ());
2153+ }
2154+ } else {
2155+ moving = null ;
21492156 }
21502157 }
21512158
@@ -2207,7 +2214,6 @@ namespace Gala {
22072214
22082215 windows = null ;
22092216 parents = null ;
2210- moving = null ;
22112217
22122218 out_group = null ;
22132219 in_group = null ;
You can’t perform that action at this time.
0 commit comments