diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-03-15 21:36:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-11 10:03:13 +0200 |
commit | d50bbf0bbc49a9a8e010668cd357aba968ae884b (patch) | |
tree | 69665e199e7fb1e8419548412daabec45a37ebc3 /include/wlr | |
parent | 9f012cac2fbc72bc4395b8c50e6ea18b93b3c164 (diff) |
backend/session: Remove logind backend
This is instead delegated to libseat.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/backend/session.h | 5 | ||||
-rw-r--r-- | include/wlr/config.h.in | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/include/wlr/backend/session.h b/include/wlr/backend/session.h index 7c0d3b22..6fee0421 100644 --- a/include/wlr/backend/session.h +++ b/include/wlr/backend/session.h @@ -58,8 +58,9 @@ struct wlr_session_add_event { * This should not be called if another program is already in control * of the terminal (Xorg, another Wayland compositor, etc.). * - * If logind support is not enabled, you must have CAP_SYS_ADMIN or be root. - * It is safe to drop privileges after this is called. + * If libseat support is not enabled, or if a standalone backend is to be used, + * then you must have CAP_SYS_ADMIN or be root. It is safe to drop privileges + * after this is called. * * Returns NULL on error. */ diff --git a/include/wlr/config.h.in b/include/wlr/config.h.in index 64abec28..15aacbfe 100644 --- a/include/wlr/config.h.in +++ b/include/wlr/config.h.in @@ -1,9 +1,6 @@ #ifndef WLR_CONFIG_H #define WLR_CONFIG_H -#mesondefine WLR_HAS_SYSTEMD -#mesondefine WLR_HAS_ELOGIND - #mesondefine WLR_HAS_LIBSEAT #mesondefine WLR_HAS_X11_BACKEND |