aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-12-19 16:39:57 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-12-20 13:56:09 +0000
commitec2845750862cc0b175bef59de4305f6da91960a (patch)
tree4ad5a8988cfec91aa5bb99f83f36db7001fbcbae /include/wlr/render
parentb5a019d5754064788471e9eba4ee9354c7cc4cd5 (diff)
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.
Diffstat (limited to 'include/wlr/render')
0 files changed, 0 insertions, 0 deletions