[mutter/wayland] idle-monitor: Hack out assert fail
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] idle-monitor: Hack out assert fail
- Date: Mon, 31 Mar 2014 22:28:03 +0000 (UTC)
commit 0aec98cf0245f5a0383ce2555933ec331ff3a671
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Mar 31 18:26:18 2014 -0400
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/core/meta-idle-monitor.c b/src/core/meta-idle-monitor.c
index faa89b3..85affc5 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])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]