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




commit aa123db4c2190a82c92a6ed0dff4765227b89857
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.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1326

 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]