[gdm/wip/xserver-in-session: 24/54] xdmcp-factory: handle display status changes after manager



commit 6be80e370ed5ea56c6a2886f18194ddd32280615
Author: Ray Strode <rstrode redhat com>
Date:   Wed Feb 11 01:17:04 2015 -0500

    xdmcp-factory: handle display status changes after manager
    
    The factory removes the display from the display store, so it
    should run last.  Furthermore the manager, sets up the greeter
    session, so it should run first.

 daemon/gdm-xdmcp-display-factory.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index 74c0755..dfd825a 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2127,10 +2127,10 @@ gdm_xdmcp_display_create (GdmXdmcpDisplayFactory *factory,
                 goto out;
         }
 
-        g_signal_connect (display,
-                          "notify::status",
-                          G_CALLBACK (on_display_status_changed),
-                          factory);
+        g_signal_connect_after (display,
+                                "notify::status",
+                                G_CALLBACK (on_display_status_changed),
+                                factory);
 
         store = gdm_display_factory_get_display_store (GDM_DISPLAY_FACTORY (factory));
         gdm_display_store_add (store, display);


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