[mutter/wip/carlosg/startup-sequences: 65/66] x11: Complete X11 startup sequence on SN_MONITOR_EVENT_COMPLETED



commit 70d6eb41b99420b3873ab9067dbb084ba886dc88
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Aug 23 17:33:51 2018 +0200

    x11: Complete X11 startup sequence on SN_MONITOR_EVENT_COMPLETED

 src/x11/meta-startup-notification-x11.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/x11/meta-startup-notification-x11.c b/src/x11/meta-startup-notification-x11.c
index 7473e4147..03cd1b20e 100644
--- a/src/x11/meta-startup-notification-x11.c
+++ b/src/x11/meta-startup-notification-x11.c
@@ -223,7 +223,10 @@ meta_startup_notification_sn_event (SnMonitorEvent *event,
 
         seq = meta_startup_notification_lookup_sequence (sn, sn_startup_sequence_get_id (sequence));
         if (seq)
-          meta_startup_notification_remove_sequence (sn, seq);
+          {
+            meta_startup_sequence_complete (seq);
+            meta_startup_notification_remove_sequence (sn, seq);
+          }
       }
       break;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]