diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-24 22:16:01 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-24 22:16:01 +0100 |
commit | c99e78a2de7c1be629fb0c343e43d0c98ab1ebe0 (patch) | |
tree | cc5a3d8da4223e40d54542bef278ec9099eeb90a /src/arctica-greeter.vala | |
parent | 75f05d20031099cef0a3874dbb8db1fc82440f7c (diff) | |
download | arctica-greeter-c99e78a2de7c1be629fb0c343e43d0c98ab1ebe0.tar.gz arctica-greeter-c99e78a2de7c1be629fb0c343e43d0c98ab1ebe0.tar.bz2 arctica-greeter-c99e78a2de7c1be629fb0c343e43d0c98ab1ebe0.zip |
Use ArcticaGreeter's way of detecting the default session, only fallback to LightDMs default if absolutely necessary.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r-- | src/arctica-greeter.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 3de7b29..68c8887 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -220,6 +220,7 @@ public class ArcticaGreeter : Object foreach (string session in sessions) { var path = Path.build_filename ("/usr/share/wayland-sessions/", session.concat(".desktop"), null); if (FileUtils.test (path, FileTest.EXISTS)) { + debug ("Using %s as default (Wayland) session.", session); return session; } } @@ -227,6 +228,7 @@ public class ArcticaGreeter : Object foreach (string session in sessions) { var path = Path.build_filename ("/usr/share/xsessions/", session.concat(".desktop"), null); if (FileUtils.test (path, FileTest.EXISTS)) { + debug ("Using %s as default (X11) session.", session); return session; } } |