mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
userMenu: Hide menu immediately before suspending
The same logic as for commit 1f30670c1d applies to the case
where we lock the screen before suspending - we don't want the
menu to jump to the opposite screen side to fade out, so remove
the animation altogether.
https://bugzilla.gnome.org/show_bug.cgi?id=686484
This commit is contained in:
parent
c7e0d547c4
commit
f6458f215f
1 changed files with 1 additions and 0 deletions
|
|
@ -849,6 +849,7 @@ const UserMenuButton = new Lang.Class({
|
|||
this._upClient.suspend_sync(null);
|
||||
}));
|
||||
|
||||
this.menu.close(BoxPointer.PopupAnimation.NONE);
|
||||
Main.screenShield.lock(true);
|
||||
} else {
|
||||
this._upClient.suspend_sync(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue