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:
parent
dcd83b7365
commit
c1e3a6b742
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user