diff options
author | Ray Strode <rstrode@redhat.com> | 2015-09-09 15:52:31 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-09-10 09:57:22 -0400 |
commit | 3499aab05e60bf4fe2b9694b9ce9bde7bf2aa54a (patch) | |
tree | 0bb542a65d50811501ac86c28ca89c22d8c80502 /daemon | |
parent | 2774c7e43b9fdf5e5e59ef1f53ae7ba29f4aa23c (diff) | |
download | gdm-3499aab05e60bf4fe2b9694b9ce9bde7bf2aa54a.tar.gz |
manager: make sure user session displays have a seat assigned
The local display factory expects all displays it tracks to have
a seat, and we're going to be tracking automatic login displays
in the display factory in a subsequent commit.
This commit makes sure the seat-id is properly set on automatic
login display objects.
https://bugzilla.gnome.org/show_bug.cgi?id=749418
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/gdm-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c index c9e807d4..26981255 100644 --- a/daemon/gdm-manager.c +++ b/daemon/gdm-manager.c @@ -1514,11 +1514,14 @@ create_display_for_user_session (GdmManager *self, const char *session_id) { GdmDisplay *display; + /* at the moment we only create GdmLocalDisplay objects on seat0 */ + const char *seat_id = "seat0"; display = gdm_local_display_new (); g_object_set (G_OBJECT (display), "session-class", "user", + "seat-id", seat_id, "session-id", session_id, NULL); gdm_display_store_add (self->priv->display_store, |