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>
This commit is contained in:
parent
b0befbbfbb
commit
a4e2d708e5
@ -450,7 +450,8 @@ var Overview = class extends Signals.EventEmitter {
|
|||||||
if (this._shown) {
|
if (this._shown) {
|
||||||
let shouldBeModal = !this._inXdndDrag;
|
let shouldBeModal = !this._inXdndDrag;
|
||||||
if (shouldBeModal && !this._modal) {
|
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();
|
this.hide();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user