diff options
author | Ray Strode <halfline@gmail.com> | 2023-05-08 16:13:21 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2023-05-08 16:13:21 +0000 |
commit | 4489a20a1f437ba6f0c4415fb8a1e51d3cbba87a (patch) | |
tree | 942272f4f2277e2f9f6be950e346c4f730c69726 | |
parent | 208cc826a71e8c0f3cd33f5711c78fc3cc85e2e4 (diff) | |
parent | 721c5d89ee67034a6267123671902b60fe43ddef (diff) | |
download | gdm-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.c | 2 |
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; |