From 0aec98cf0245f5a0383ce2555933ec331ff3a671 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 31 Mar 2014 18:26:18 -0400 Subject: [PATCH] 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. --- src/core/meta-idle-monitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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])