[gnome-shell/gbsneto/new-lock-screen: 19/22] fixup! sessonMode: Remove 'lock-screen' mode
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/new-lock-screen: 19/22] fixup! sessonMode: Remove 'lock-screen' mode
- Date: Wed, 16 Oct 2019 14:10:25 +0000 (UTC)
commit cd1c45731d4a56e363a09c027f5b2765cd825cc8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Oct 15 15:38:56 2019 +0200
fixup! sessonMode: Remove 'lock-screen' mode
js/ui/screenShield.js | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index c695fef5b5..aef2bfd758 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -411,16 +411,7 @@ var ScreenShield = class {
if (this._lockScreenState == MessageTray.State.HIDDEN)
return;
- this._lockScreenState = MessageTray.State.HIDING;
-
- if (Main.sessionMode.currentMode == 'lock-screen')
- Main.sessionMode.popMode('lock-screen');
-
this._lockScreenState = MessageTray.State.HIDDEN;
-
- this._dialog.grab_key_focus();
- this._dialog.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
-
this._cursorTracker.set_pointer_visible(true);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]