diff --git a/src/core/meta-idle-monitor.c b/src/core/meta-idle-monitor.c index faa89b3a4..85affc580 100644 --- a/src/core/meta-idle-monitor.c +++ b/src/core/meta-idle-monitor.c @@ -358,7 +358,8 @@ meta_idle_monitor_xsync_handle_xevent_all (XEvent *xevent) { int i; - g_assert (!meta_is_wayland_compositor ()); + if (!meta_is_wayland_compositor ()) + return; for (i = 0; i <= device_id_max; i++) if (device_monitors[i])