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.

(cherry picked from commit 56478f21e6)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2705>
This commit is contained in:
Sebastian Keller 2023-03-01 21:48:45 +01:00 committed by Florian Müllner
parent b2566d84ad
commit 42d5901e7d

View file

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