aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-04-11 12:14:40 +0200
committerFurkan Sahin <furkan-dev@proton.me>2021-04-11 12:14:40 +0200
commit50b9a4dbd05ff5a1398da564108180dd3196739a (patch)
tree8a7b58af55a2ae79e947482ef097384092db009c /meson.build
parent5567f9f47ff5bdce6db1418cb4a1fced5538bc2c (diff)
build: stop checking for logind
wlroots has removed its logind session backend [1]. It now relies on libseat only. [1]: https://github.com/swaywm/wlroots/pull/2786
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index d2c8d3ad..b0aa3200 100644
--- a/meson.build
+++ b/meson.build
@@ -76,8 +76,6 @@ endif
wlroots_features = {
'xwayland': false,
- 'systemd': false,
- 'elogind': false,
'libseat': false,
}
foreach name, _ : wlroots_features
@@ -318,7 +316,7 @@ summary({
'man-pages': scdoc.found(),
}, bool_yn: true)
-if not wlroots_features['systemd'] and not wlroots_features['elogind'] and not wlroots_features['libseat']
+if not wlroots_features['libseat']
warning('The sway binary must be setuid when compiled without (e)logind or libseat')
warning('You must do this manually post-install: chmod a+s /path/to/sway')
endif