main: Let SWITCH_PANELS keybinding through at login screen
Users depend on being able to switch focus between the panel and the login screen using ctrl-alt-tab. Because the login screen has no overview, we were short circuiting some code that needs to get run to support ctrl-alt-tab. This commit changes the short-circuit code to only run for user sessions. https://bugzilla.gnome.org/show_bug.cgi?id=659177
This commit is contained in:
parent
207917ba45
commit
2e48dbf6ee
@ -595,9 +595,9 @@ function _globalKeyPressHandler(actor, event) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Other bindings are only available when the overview is up and
|
// Other bindings are only available to the user session when the overview is up and
|
||||||
// no modal dialog is present.
|
// no modal dialog is present.
|
||||||
if (!overview.visible || modalCount > 1)
|
if (global.session_type == Shell.SessionType.USER && (!overview.visible || modalCount > 1))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// This isn't a Meta.KeyBindingAction yet
|
// This isn't a Meta.KeyBindingAction yet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user