mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2549>
(cherry picked from commit a4e2d708e5)
This commit is contained in:
parent
78757470b5
commit
250b730630
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue