Greg Depoire--Ferrer
d78859bc9a
libseat: Update builtin backend root requirement documentation
...
The builtin backend no longer requires root, setuid or CAP_SYS_ADMIN.
This commit updates the documentation accordingly.
2021-08-15 14:03:23 +02:00
Simon Ser
166feaea33
Make libseat_seat_listener const
...
libseat will never write to that struct. Let's allow callers to
make it read-only.
2021-08-15 13:33:30 +02:00
Simon Ser
9a7824b7c3
Add no-op session
...
This is useful for headless testing, for instance with VKMS:
modprobe vkms
export WLR_DRM_DEVICES=/dev/dri/card1
export WLR_BACKENDS=drm
export LIBSEAT_BACKEND=noop
sway
We don't need any of the VT handling in this case.
2021-03-26 11:11:26 +01:00
Kenny Levinsen
da3cbcc943
libseat: Fix typo in doc string
2021-02-27 19:28:32 +01:00
Simon Ser
07ceeeebe0
Introduce libseat_set_log_level
...
The default level is SILENT. log_init no longer takes an initial log
level (so that calls to libseat_set_log_level prior to log_init work
correctly).
2020-08-28 01:21:57 +02:00
Simon Ser
47d4b43f1a
Introduce libseat_set_log_handler
...
This allows libseat users to register a custom logging function.
2020-08-28 01:21:57 +02:00
Kenny Levinsen
304489c30d
libseat: Fix doc typo
2020-08-05 23:41:55 +02:00
Kenny Levinsen
4f4a17a2bd
libseat: Remove unused stdarg.h import
2020-08-03 00:57:34 +02:00
Kenny Levinsen
61716a2c77
Initial implementation of seatd and libseat
2020-07-31 00:22:18 +02:00