workspaceAnimation: Disable unredirection during the gesture

Make sure fullscreen apps can't block the animation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1326>
This commit is contained in:
Alexander Mikhaylenko 2021-01-09 17:43:14 +05:00 committed by Marge Bot
parent bca654851c
commit ae4dab761e

View File

@ -316,9 +316,13 @@ var WorkspaceAnimationController = class {
switchData.monitors.push(group); switchData.monitors.push(group);
} }
Meta.disable_unredirect_for_display(global.display);
} }
_finishWorkspaceSwitch(switchData) { _finishWorkspaceSwitch(switchData) {
Meta.enable_unredirect_for_display(global.display);
this._switchData = null; this._switchData = null;
switchData.monitors.forEach(m => m.destroy()); switchData.monitors.forEach(m => m.destroy());