Commit c1e3a6b7 authored by Jasper St. Pierre's avatar Jasper St. Pierre

idle-monitor: Actually get the check for is_wayland_compositor correctly

If we're a Wayland compositor we shouldn't be taking this path, ever.
parent dcd83b73
...@@ -358,7 +358,7 @@ meta_idle_monitor_xsync_handle_xevent_all (XEvent *xevent) ...@@ -358,7 +358,7 @@ meta_idle_monitor_xsync_handle_xevent_all (XEvent *xevent)
{ {
int i; int i;
if (!meta_is_wayland_compositor ()) if (meta_is_wayland_compositor ())
return; return;
for (i = 0; i <= device_id_max; i++) for (i = 0; i <= device_id_max; i++)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment