wlroots/backend
Simon Ser 7864f26d73 backend: error out in autocreate without libinput support
The libinput backend is now optional. However, this means that a
user building wlroots without the correct libinput dependencies
will end up with a compositor which doesn't respond to input events.

wlr_backend_autocreate is supposed to return a sensible setup, so in
this case let's just error out and explain what happened. Users can
suppress the check by setting WLR_LIBINPUT_NO_DEVICES=1 (already used
to suppress the zero input device case inside the libinput backend).

Compositors which really want to create a bare DRM backend can easily
create it manually instead of using wlr_backend_autocreate.

(cherry picked from commit ec2845750862cc0b175bef59de4305f6da91960a)
2022-02-02 20:07:07 +01:00
..
drm backend/drm: use drmCloseBufferHandle 2021-12-14 14:33:00 +01:00
headless Fix incorrect %zd formatting directives 2021-12-09 16:42:04 +01:00
libinput input-device: remove wlr_input_device.link 2021-11-23 14:14:18 +00:00
multi backend/multi: add asserts in wlr_multi_backend_add 2021-11-19 10:44:45 -05:00
session backend/drm: add wlr_drm_backend_monitor 2021-12-13 14:55:16 +01:00
wayland backend/wayland: add basic linux-dmabuf feedback support 2021-12-15 14:34:08 +00:00
x11 Fix incorrect %zd formatting directives 2021-12-09 16:42:04 +01:00
backend.c backend: error out in autocreate without libinput support 2022-02-02 20:07:07 +01:00
meson.build backend: remove noop backend 2021-11-25 16:49:05 +00:00