[gnome-shell/wip/exalm/gestures2: 10/10] workspaceAnimation: Disable unredirection during the gesture
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/exalm/gestures2: 10/10] workspaceAnimation: Disable unredirection during the gesture
- Date: Sat, 9 Jan 2021 15:03:26 +0000 (UTC)
commit 51ea515c8e642d147cf476ddb3cc689b841dea9a
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sat Jan 9 17:43:14 2021 +0500
workspaceAnimation: Disable unredirection during the gesture
Make sure fullscreen apps can't block the animation.
js/ui/workspaceAnimation.js | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/js/ui/workspaceAnimation.js b/js/ui/workspaceAnimation.js
index 517fed44f3..b21b3fe94b 100644
--- a/js/ui/workspaceAnimation.js
+++ b/js/ui/workspaceAnimation.js
@@ -316,9 +316,13 @@ var WorkspaceAnimationController = class {
switchData.monitors.push(group);
}
+
+ Meta.disable_unredirect_for_display(global.display);
}
_finishWorkspaceSwitch(switchData) {
+ Meta.enable_unredirect_for_display(global.display);
+
this._switchData = null;
switchData.monitors.forEach(m => m.destroy());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]