diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-24 21:13:23 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-24 21:13:23 +0100 |
commit | 578255312a0e96cd077b4271b7a5b6855cbe38d8 (patch) | |
tree | 27226f30eb50b2eb1429860f40bbc99e88c719a4 | |
parent | be96632dc356730572cfebf4c17ef6fb601f9e4a (diff) | |
download | arctica-greeter-578255312a0e96cd077b4271b7a5b6855cbe38d8.tar.gz arctica-greeter-578255312a0e96cd077b4271b7a5b6855cbe38d8.tar.bz2 arctica-greeter-578255312a0e96cd077b4271b7a5b6855cbe38d8.zip |
src/arctica-greeter.vala: Prefer wayland sessions over X11 sessions.
-rw-r--r-- | src/arctica-greeter.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index c41de66..87665b6 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -219,14 +219,14 @@ public class ArcticaGreeter : Object sessions.append ("lomiri"); foreach (string session in sessions) { - var path = Path.build_filename ("/usr/share/xsessions/", session.concat(".desktop"), null); + var path = Path.build_filename ("/usr/share/wayland-sessions/", session.concat(".desktop"), null); if (FileUtils.test (path, FileTest.EXISTS)) { return session; } } foreach (string session in sessions) { - var path = Path.build_filename ("/usr/share/wayland-sessions/", session.concat(".desktop"), null); + var path = Path.build_filename ("/usr/share/xsessions/", session.concat(".desktop"), null); if (FileUtils.test (path, FileTest.EXISTS)) { return session; } |