We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3dc32 commit 0d8893aCopy full SHA for 0d8893a
src/WindowManager.vala
@@ -592,12 +592,10 @@ namespace Gala {
592
case MOVE_TO_WORKSPACE:
593
unowned var display = get_display ();
594
unowned var manager = display.get_workspace_manager ();
595
+ unowned var active_workspace = manager.get_active_workspace ();
596
+ unowned var target_workspace = active_workspace.get_neighbor (direction);
597
- moving = display.focus_window;
- if (moving != null) {
598
- moving.change_workspace (manager.get_active_workspace ().get_neighbor (direction));
599
- }
600
- switch_to_next_workspace (direction, timestamp);
+ move_window (display.focus_window, target_workspace, timestamp);
601
break;
602
603
case SWITCH_WORKSPACE:
0 commit comments