mirror of
https://github.com/brl/mutter.git
synced 2025-07-28 12:38:04 +00: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:
@@ -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++)
|
||||||
|
Reference in New Issue
Block a user