[gdm] daemon: make sure autologin display starts on initial vt
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: make sure autologin display starts on initial vt
- Date: Fri, 27 Feb 2015 22:08:24 +0000 (UTC)
commit c27d48ba5b265a46e06ecdd2e398fb0e0b49823d
Author: Ray Strode <rstrode redhat com>
Date: Fri Feb 27 17:02:50 2015 -0500
daemon: make sure autologin display starts on initial vt
daemon/gdm-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 9bdfb15..9f35479 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -2171,6 +2171,7 @@ start_autologin_conversation_if_necessary (GdmManager *manager,
{
gboolean enabled;
int delay = 0;
+ gboolean is_initial = FALSE;
gdm_display_get_timed_login_details (display, &enabled, NULL, &delay);
@@ -2182,7 +2183,8 @@ start_autologin_conversation_if_necessary (GdmManager *manager,
return;
}
- g_object_set (G_OBJECT (session), "display-is-initial", TRUE, NULL);
+ g_object_get (G_OBJECT (display), "is-initial", &is_initial, NULL);
+ g_object_set (G_OBJECT (session), "display-is-initial", is_initial, NULL);
g_debug ("GdmManager: Starting automatic login conversation");
gdm_session_start_conversation (session, "gdm-autologin");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]