summaryrefslogtreecommitdiff
path: root/daemon/gdm-session.c
diff options
context:
space:
mode:
authormsizanoen1 <msizanoen@qtmlabs.xyz>2022-03-07 12:03:15 +0700
committerRay Strode <halfline@gmail.com>2023-05-08 13:50:11 +0000
commit6184c8a9a113abc963452dd3fdc91d1597385f56 (patch)
treee1f2c9a4ddbdd0905cda1d6a4024781d3d6ed052 /daemon/gdm-session.c
parent8b8f8f05025f91fb76d7669630f7387da1d64772 (diff)
downloadgdm-6184c8a9a113abc963452dd3fdc91d1597385f56.tar.gz
daemon: Allow Wayland sessions on non-primary seats
Diffstat (limited to 'daemon/gdm-session.c')
-rw-r--r--daemon/gdm-session.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 0b438651..ebb9213d 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3363,11 +3363,8 @@ gdm_session_get_display_mode (GdmSession *self)
self->is_program_session? "yes" : "no",
self->display_seat_id);
- /* Non-seat0 sessions share their X server with their login screen
- * for now.
- */
if (g_strcmp0 (self->display_seat_id, "seat0") != 0) {
- return GDM_SESSION_DISPLAY_MODE_REUSE_VT;
+ return GDM_SESSION_DISPLAY_MODE_LOGIND_MANAGED;
}
#ifdef ENABLE_USER_DISPLAY_SERVER