events: Early exit when we get a SN notification event

Nothing else needs to see this.
This commit is contained in:
Jasper St. Pierre 2014-04-06 15:23:10 -04:00
parent 840378ae68
commit 0e6570b09b

View File

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