[gnome-shell/wip/exalm/gestures2: 18/19] workspaceAnimation: Disable unredirection during the gesture




commit 37261792777b759e22a3966246572dd1e1dee578
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]