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
@ -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…
Reference in New Issue
Block a user