From 589e6c29f36bb9f014995a30b6699e27877e556d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 27 Jul 2014 08:18:51 -0400 Subject: [PATCH] loginDialog: Push a modal for LOCK_SCREEN So that we're in the correct keybinding mode. --- js/gdm/loginDialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 6ea04baef..cbb5721db 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -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); },