From 586a9ff9cdf044bc7555bfeba36e561470a9eaef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 4 Sep 2018 17:35:39 +0200 Subject: [PATCH] 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;