aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session-list.vala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session-list.vala b/src/session-list.vala
index 8354f00..5149cc5 100644
--- a/src/session-list.vala
+++ b/src/session-list.vala
@@ -59,6 +59,12 @@ public class SessionPrompt : PromptBox
}
}
/* Pick the default session (if different from selected session) and add it as next item.
+ *
+ * In SUSE and derivatives, LightDM ships a distro-specific patch that hides the default.desktop
+ * (and other) symlink(s) from LightDM.
+ * https://build.opensuse.org/projects/X11:Utilities/packages/lightdm/files/lightdm-ignore-known-symlink-sessions.patch?expand=1
+ *
+ * So the next if-clause won't take effect on SUSE-based systems.
*/
if (session != default_session) {
foreach (var dm_session in dm_sessions)