From a1f117e5202976bf5f83cb3529997b43ede4b7e8 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 7 Feb 2019 11:18:53 -0500 Subject: [PATCH] loginDialog: hide authprompt when VT switching away The authprompt is no longer useful if the user isn't on the VT, and it's not what the user is going to ultimately see when they come back (they'll see the user list), so we should hide it. Fixes a bug where it briefly blinks in view on VT switch. --- js/gdm/loginDialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 431832b66..02f5b4565 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -940,6 +940,9 @@ var LoginDialog = GObject.registerClass({ this._greeter.run_dispose(); this._greeter = null; } + + this._authPrompt.hide(); + this.actor.opacity = 0; } _gotGreeterSessionProxy(proxy) {