userMenu: Close menu immediately on user/session switch
The same reasoning as for commit 1f30670c1d
also applies to
VT switches.
https://bugzilla.gnome.org/show_bug.cgi?id=684459
This commit is contained in:
parent
d11d8d5353
commit
3429fc3e4c
@ -820,6 +820,7 @@ const UserMenuButton = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onLoginScreenActivate: function() {
|
_onLoginScreenActivate: function() {
|
||||||
|
this.menu.close(BoxPointer.PopupAnimation.NONE);
|
||||||
Main.overview.hide();
|
Main.overview.hide();
|
||||||
if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
|
if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
|
||||||
Main.screenShield.lock(false);
|
Main.screenShield.lock(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user