drm-backend: add --continue-without-input command line option to DRM-backend
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Wed, 6 May 2020 21:10:19 +0000 (18:10 -0300)
committerPekka Paalanen <pq@iki.fi>
Tue, 2 Jun 2020 13:47:15 +0000 (13:47 +0000)
commite57d8ae818c39fc434fcf3bfc97274195296c8d6
tree6ef57186868330b2fcfc9216b0da0441faeaf5d2
parent7b37b4d3d723da2c041053472812748465c3ae27
drm-backend: add --continue-without-input command line option to DRM-backend

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.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
compositor/main.c
include/libweston/backend-drm.h
libweston/backend-drm/drm.c
man/weston-drm.man