mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 11:30:45 -05:00
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;
|
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++)
|
||||||
|
Loading…
Reference in New Issue
Block a user