[gnome-shell/wip/fmuellner/untrack-close-dialog: 49/49] layout: Don't update input region on wayland



commit 586a9ff9cdf044bc7555bfeba36e561470a9eaef
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Sep 4 17:35:39 2018 +0200

    layout: Don't update input region on wayland
    
    We already see all events on wayland, so we can save us the work
    of computing the XFixes region there.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/issues/273

 js/ui/layout.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index 7a3cb227d..039cc4301 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -1059,7 +1059,8 @@ var LayoutManager = new Lang.Class({
             }
         }
 
-        global.set_stage_input_region(rects);
+        if (!Meta.is_wayland_compositor())
+            global.set_stage_input_region(rects);
         this._isPopupWindowVisible = isPopupMenuVisible;
 
         let workspaceManager = global.workspace_manager;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]