diff options
Diffstat (limited to 'daemon/gdm-local-display-factory.c')
-rw-r--r-- | daemon/gdm-local-display-factory.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c index 8709edd0..4a1889e7 100644 --- a/daemon/gdm-local-display-factory.c +++ b/daemon/gdm-local-display-factory.c @@ -668,7 +668,6 @@ static void maybe_stop_greeter_in_background (GdmLocalDisplayFactory *factory, GdmDisplay *display) { - g_autofree char *display_session_type = NULL; gboolean doing_initial_setup = FALSE; if (gdm_display_get_status (display) != GDM_DISPLAY_MANAGED) { @@ -677,7 +676,6 @@ maybe_stop_greeter_in_background (GdmLocalDisplayFactory *factory, } g_object_get (G_OBJECT (display), - "session-type", &display_session_type, "doing-initial-setup", &doing_initial_setup, NULL); @@ -687,13 +685,6 @@ maybe_stop_greeter_in_background (GdmLocalDisplayFactory *factory, return; } - /* we can only stop greeter for wayland sessions, since - * X server would jump back on exit */ - if (g_strcmp0 (display_session_type, "wayland") != 0) { - g_debug ("GdmLocalDisplayFactory: login window is running on Xorg, so ignoring"); - return; - } - g_debug ("GdmLocalDisplayFactory: killing login window once its unused"); g_object_set (G_OBJECT (display), "status", GDM_DISPLAY_WAITING_TO_FINISH, NULL); |