diff --git a/src/backends/meta-idle-monitor.c b/src/backends/meta-idle-monitor.c index 7d9d29355..4c4357af6 100644 --- a/src/backends/meta-idle-monitor.c +++ b/src/backends/meta-idle-monitor.c @@ -358,7 +358,7 @@ meta_idle_monitor_xsync_handle_xevent_all (XEvent *xevent) { int i; - if (!meta_is_wayland_compositor ()) + if (meta_is_wayland_compositor ()) return; for (i = 0; i <= device_id_max; i++)