fixup! sessonMode: Remove 'lock-screen' mode
This commit is contained in:
parent
5380b06eb5
commit
cd1c45731d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user