idle-monitor: Hack out assert fail

It seems that we're getting XSyncAlarmNotify events here as a Wayland
compositor for some reason. Just hack this one out for now.
This commit is contained in:
Jasper St. Pierre 2014-03-31 18:26:18 -04:00
parent b64d14ff4a
commit 0aec98cf02

View File

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