diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-27 11:10:30 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-27 11:18:58 +0100 |
commit | 8acaabcbab4f08dfae79dbfd9a1b2b5d932137c6 (patch) | |
tree | 77fc6eda16523fd2e5027fc73bdeed07925683fa /wlroots.syms | |
parent | 5079000e49d57ef4087167404fe9091252401b35 (diff) |
backend: make wlr_backend_autocreate() fail when DRM is missing
When we change the required dependencies for the DRM backend,
Meson might auto-disable the backend for users missing the new
requirements. This results in confused users [1] because they don't
notice the "drm-backend: NO" line burried in the Meson logs, and
then get a black screen when starting the compositor.
Update wlr_backend_autocreate() to refuse to create a backend with
only libinput (without DRM).
Users really wanting to start their compositor with a libinput
backend and without a DRM backend can manually set WLR_BACKENDS.
[1]: https://github.com/swaywm/sway/issues/7457
Diffstat (limited to 'wlroots.syms')
0 files changed, 0 insertions, 0 deletions