aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-02-24 21:13:23 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-02-24 21:13:23 +0100
commit578255312a0e96cd077b4271b7a5b6855cbe38d8 (patch)
tree27226f30eb50b2eb1429860f40bbc99e88c719a4 /src/arctica-greeter.vala
parentbe96632dc356730572cfebf4c17ef6fb601f9e4a (diff)
downloadarctica-greeter-578255312a0e96cd077b4271b7a5b6855cbe38d8.tar.gz
arctica-greeter-578255312a0e96cd077b4271b7a5b6855cbe38d8.tar.bz2
arctica-greeter-578255312a0e96cd077b4271b7a5b6855cbe38d8.zip
src/arctica-greeter.vala: Prefer wayland sessions over X11 sessions.
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala4
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;
}