summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-02-11 01:17:04 -0500
committerRay Strode <rstrode@redhat.com>2015-03-25 15:20:12 -0400
commit658897c18835c4295de94df990708d4a5655bae8 (patch)
tree8ba30432c9a10207608a61857bef3e6ce6d292fb
parent6704d71edb555c2ea5ce9a3d576f48aa428c9e30 (diff)
downloadgdm-658897c18835c4295de94df990708d4a5655bae8.tar.gz
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. https://bugzilla.gnome.org/show_bug.cgi?id=744764
-rw-r--r--daemon/gdm-xdmcp-display-factory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/gdm-xdmcp-display-factory.c b/daemon/gdm-xdmcp-display-factory.c
index 7fb26d6a..d01f7ff5 100644
--- a/daemon/gdm-xdmcp-display-factory.c
+++ b/daemon/gdm-xdmcp-display-factory.c
@@ -2128,10 +2128,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);