From cd1c45731d4a56e363a09c027f5b2765cd825cc8 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 15 Oct 2019 15:38:56 +0200 Subject: [PATCH] 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 c695fef5b..aef2bfd75 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); }