diff options
author | Ray Strode <rstrode@redhat.com> | 2015-09-10 09:41:18 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-09-10 09:57:21 -0400 |
commit | fa9e98c6c7046b527b0bd36ec7672a0a4ddbf23b (patch) | |
tree | 2493d34d2cdeba0aff055168da28de0ec3ad55e9 | |
parent | 7247ee14cf9db22e6e3608992e02dce16e6c1b59 (diff) | |
download | gdm-fa9e98c6c7046b527b0bd36ec7672a0a4ddbf23b.tar.gz |
manager: don't muck with the session type and class of stub display (autologin)
Normally at startup a display is created of class "greeter" for the
login screen to use. That display isn't used in the case automatic
login is enabled. There's some iffy code to try to change the class
from "greeter" to "user" in the automatic login case. That code is
wrong, because in the automatic login case a new display is created
specifically for the user session. The greeter session is abandoned,
instead of used, so mucking with it's class and type is wrong.
This commit removes the code that does that mucking.
https://bugzilla.gnome.org/show_bug.cgi?id=749418
-rw-r--r-- | daemon/gdm-manager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c index a148f3df..a2a60f2d 100644 --- a/daemon/gdm-manager.c +++ b/daemon/gdm-manager.c @@ -1329,9 +1329,6 @@ set_up_automatic_login_session (GdmManager *manager, GdmSession *session; gboolean is_initial; - g_object_set (G_OBJECT (display), "session-class", "user", NULL); - g_object_set (G_OBJECT (display), "session-type", NULL, NULL); - /* 0 is root user; since the daemon talks to the session object * directly, itself, for automatic login */ |