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.
This commit is contained in:
Jasper St. Pierre 2014-04-01 16:05:20 -04:00
parent dcd83b7365
commit c1e3a6b742

View File

@ -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++)