loginDialog: Push a modal for LOCK_SCREEN

So that we're in the correct keybinding mode.
This commit is contained in:
Jasper St. Pierre 2014-07-27 08:18:51 -04:00
parent 4b46533ce8
commit 589e6c29f3

View File

@ -926,6 +926,8 @@ const LoginDialog = new Lang.Class({
this.actor.show();
this.actor.opacity = 0;
Main.pushModal(this.actor, { keybindingMode: Shell.KeyBindingMode.LOGIN_SCREEN });
Tweener.addTween(this.actor,
{ opacity: 255,
time: 1,
@ -935,6 +937,7 @@ const LoginDialog = new Lang.Class({
},
close: function() {
Main.popModal(this.actor);
Main.ctrlAltTabManager.removeGroup(this.actor);
},