drm-backend: add --continue-without-input command line option to DRM-backend

Graphics / Wayland / Weston - Leandro Ribeiro [collabora.com] - 2 June 2020 13:47 UTC

In the test suite we may want to run a DRM-backend test on a non-default seat, which may not have a input device associated. Weston's default behavior is to not open if input devices are not found, as it may cause troubles. For instance, Weston can open but if no input device is set than the user can not interact or leave it.

Add flag --continue-without-input to DRM-backend so we can run these types of tests with no input. Notice that this won't force the compositor to skip opening a input device if it finds it on the non-default seat.

e57d8ae8 drm-backend: add --continue-without-input command line option to DRM-backend
compositor/main.c | 4 +++-
include/libweston/backend-drm.h | 3 +++
libweston/backend-drm/drm.c | 1 +
man/weston-drm.man | 3 +++
4 files changed, 10 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org

  • Share