[gdm/gnome-3-16] manager: make sure user session displays have a seat assigned
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-3-16] manager: make sure user session displays have a seat assigned
- Date: Tue, 15 Sep 2015 21:05:06 +0000 (UTC)
commit 0dd2dfcbc8b1987ad72dbb3d898412f5a6b3cfa3
Author: Ray Strode <rstrode redhat com>
Date: Wed Sep 9 15:52:31 2015 -0400
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
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 ee907c5..4c1af48 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1927,11 +1927,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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]