summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <halfline@gmail.com>2023-05-08 16:13:21 +0000
committerRay Strode <halfline@gmail.com>2023-05-08 16:13:21 +0000
commit4489a20a1f437ba6f0c4415fb8a1e51d3cbba87a (patch)
tree942272f4f2277e2f9f6be950e346c4f730c69726
parent208cc826a71e8c0f3cd33f5711c78fc3cc85e2e4 (diff)
parent721c5d89ee67034a6267123671902b60fe43ddef (diff)
downloadgdm-4489a20a1f437ba6f0c4415fb8a1e51d3cbba87a.tar.gz
Merge branch 'check-vt-respawn-only-seat0' into 'main'
local-display-factory: Only check current VT for respawn on seat0 See merge request GNOME/gdm!203
-rw-r--r--daemon/gdm-local-display-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index e8fb4779..d3fee2cb 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -556,7 +556,7 @@ on_display_status_changed (GdmDisplay *display,
if (is_local &&
((g_strcmp0 (session_class, "greeter") != 0 &&
(!seat_active_session || g_strcmp0(session_id, seat_active_session) == 0)) ||
- factory->active_vt == GDM_INITIAL_VT ||
+ (g_strcmp0 (seat_id, "seat0") == 0 && factory->active_vt == GDM_INITIAL_VT) ||
g_strcmp0 (seat_id, "seat0") != 0)) {
/* reset num failures */
factory->num_failures = 0;