[mutter/wip/ui-on-own-connection: 2/13] events: Early exit when we get a SN notification event



commit 72b88c929e14b91e756a68f95f174351d8368c6e
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]