overview: Hide when failing to take grab at end of startup animation

Otherwise keyboard input would be going to whatever window was
preventing us from taking the grab while it is obscured by the overview.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2667>
This commit is contained in:
Sebastian Keller 2023-03-01 21:48:45 +01:00 committed by Marge Bot
parent bb42973730
commit 56478f21e6

View File

@ -691,6 +691,7 @@ var Overview = class extends Signals.EventEmitter {
if (!this._syncGrab()) {
callback();
this.hide();
return;
}