From 1aeb61ffaf15a37183d672b02e9f917401877ab5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 9 Jul 2024 10:03:18 +0200 Subject: src/session-list.vala: Skip session key 'default' when detecting the session's icon name. --- src/session-list.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/session-list.vala b/src/session-list.vala index eb2892e..8354f00 100644 --- a/src/session-list.vala +++ b/src/session-list.vala @@ -239,6 +239,12 @@ public class SessionList : GreeterList { foreach (var real_session in sessions) { + // Skip the default session + if (real_session.key == "default") { + continue; + } + + // If we find the real session, use its key value for badge icon loading... if (real_session.name == find_session.name) { session = real_session.key; -- cgit v1.2.3