From 3429fc3e4cc5833fbe59b6e7143b0ff6c5b97e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 20 Sep 2012 23:18:51 +0200 Subject: [PATCH] userMenu: Close menu immediately on user/session switch The same reasoning as for commit 1f30670c1d8d8 also applies to VT switches. https://bugzilla.gnome.org/show_bug.cgi?id=684459 --- js/ui/userMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 3d6e340fb..0a3192d12 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -820,6 +820,7 @@ const UserMenuButton = new Lang.Class({ }, _onLoginScreenActivate: function() { + this.menu.close(BoxPointer.PopupAnimation.NONE); Main.overview.hide(); if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY)) Main.screenShield.lock(false);