Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/Widgets/MultitaskingView/MultitaskingView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,12 @@ public class Gala.MultitaskingView : Root, RootTarget {
target_workspace.activate (display.get_current_time ());
}

/* Activating a workspace will set the input focus to the stage so recapture it
/* Activating a workspace will set the input focus to the stage so recapture it if we are open
(Gala.Root will automatically recapture it if we try to move the focus but we want
it right away for escape to work) */
grab_key_focus ();
if (opened) {
grab_key_focus ();
}

break;

Expand Down