mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
overview: Emit 'hidden' after it's *really* hidden
Previously we would emit 'hidden' before the overview was fully hidden, so any attempts to animate windows on that signal could still fail. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1440>
This commit is contained in:
parent
ea9c4e589d
commit
956db078c3
1 changed files with 5 additions and 3 deletions
|
|
@ -609,12 +609,14 @@ var Overview = class {
|
|||
this._visible = false;
|
||||
this._animationInProgress = false;
|
||||
|
||||
this.emit('hidden');
|
||||
// Handle any calls to show* while we were hiding
|
||||
if (this._shown)
|
||||
if (this._shown) {
|
||||
this.emit('hidden');
|
||||
this._animateVisible(OverviewControls.ControlsState.WINDOW_PICKER);
|
||||
else
|
||||
} else {
|
||||
Main.layoutManager.hideOverview();
|
||||
this.emit('hidden');
|
||||
}
|
||||
|
||||
Main.panel.style = null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue