From 4c288bd122d8bbe923f41b41b53ae6068b3800bd Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 2 Dec 2019 12:36:38 -0300 Subject: [PATCH] screenShield: Cleanup _ensureUnlockDialog Just like on ScreenShield.activate(), we can just ensure the unlock screen on ScreenShield.showDialog(). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872 --- js/ui/screenShield.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 944aafca0..fc60d63a8 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -303,8 +303,7 @@ var ScreenShield = class { this.actor.show(); this._isGreeter = Main.sessionMode.isGreeter; this._isLocked = true; - if (this._ensureUnlockDialog(true)) - this._hideLockScreen(false); + this._ensureUnlockDialog(true); } _hideLockScreenComplete() {