From a4e2d708e5d1591a221e1d5ed88def6f94530655 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 18 Nov 2022 23:57:03 +0100 Subject: [PATCH] overview: Don't block on wayland popovers We don't allow entering the overview when there's an ongoing grab operation, as they are generally incompatible with ClutterGrab. The exception are wayland popups which are expected to work, and don't conflict with ClutterGrabs. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6092 Part-of: --- js/ui/overview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/overview.js b/js/ui/overview.js index 86e02a844..192cddffa 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -450,7 +450,8 @@ var Overview = class extends Signals.EventEmitter { if (this._shown) { let shouldBeModal = !this._inXdndDrag; if (shouldBeModal && !this._modal) { - if (global.display.get_grab_op() !== Meta.GrabOp.NONE) { + if (global.display.get_grab_op() !== Meta.GrabOp.NONE && + global.display.get_grab_op() !== Meta.GrabOp.WAYLAND_POPUP) { this.hide(); return false; }