[mutter/wayland: 3/15] events: Early exit when we get a SN notification event
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland: 3/15] events: Early exit when we get a SN notification event
- Date: Mon, 7 Apr 2014 15:22:38 +0000 (UTC)
commit 0e6570b09b4b2336cbe2acc6dd18587ca95e31ef
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Apr 6 15:23:10 2014 -0400
events: Early exit when we get a SN notification event
Nothing else needs to see this.
src/core/events.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/core/events.c b/src/core/events.c
index 35e397f..086268f 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -1754,7 +1754,11 @@ meta_display_handle_xevent (MetaDisplay *display,
#endif
#ifdef HAVE_STARTUP_NOTIFICATION
- sn_display_process_event (display->sn_display, event);
+ if (sn_display_process_event (display->sn_display, event))
+ {
+ bypass_gtk = bypass_compositor = TRUE;
+ goto out;
+ }
#endif
/* Intercept XRandR events early and don't attempt any
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]