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
This commit is contained in:
Florian Müllner 2018-09-04 17:35:39 +02:00 committed by Florian Müllner
parent 7190666075
commit 586a9ff9cd

View File

@ -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;