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
Kenny Levinsen
f9ba8b57bc
Avoid a clang-format quirk
...
clang-format wants to put the terminating NULLs on the same line as the
noop backend when it doens't have any immediate non-NULL neighbors.
Add a newline to stop it.
2021-03-26 11:34:13 +01: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
29ba210958
libseat: Better error reporting from open_seat
2020-10-11 23:31:07 +02:00
Kenny Levinsen
69d57aaf33
libseat: Assert that listener is non-NULL
2020-08-29 20:29:35 +02:00
Kenny Levinsen
1e6d4f451f
libseat: Only print backend attempts for matches
2020-08-28 22:40:10 +02: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
48b9bf4707
Nuke LIBSEAT_LOGLEVEL
...
This will be replaced with a libseat API to set the log level.
2020-08-28 01:21:57 +02:00
Simon Ser
a254fe3692
Rename enum log_level to libseat_log_level
...
This is preparatory work for exposing a public function to set libseat's
log handler.
2020-08-28 01:21:57 +02:00
Kenny Levinsen
3586530d81
libseat: Rename libseat_impl to seat_impl
2020-08-05 23:41:55 +02:00
Kenny Levinsen
493cc2a97d
log: Remove libseat prefixes
2020-08-05 23:41:55 +02:00
Kenny Levinsen
563a932659
Remove pointless compiler.h
2020-08-05 23:20:50 +02:00
Kenny Levinsen
250adee852
libseat: Use LIBSEAT_LOGLEVEL instead of SEATD_LOGLEVEL
2020-08-03 02:49:07 +02:00
Kenny Levinsen
3e301b8e70
libseat: Use symbol file instead of -fvisibility
2020-08-03 00:54:55 +02:00
Kenny Levinsen
61716a2c77
Initial implementation of seatd and libseat
2020-07-31 00:22:18 +02:00