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



commit ec3d0cfccd1585661c6ec84c77fee706fece37d9
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]