Add configuration option for no input device

Graphics / Wayland / Weston - Daniel Díaz [linaro.org] - 22 October 2016 09:04 UTC

As it has been discussed in the past [1], running Weston without any input device at launch might be beneficial for some use cases.

Certainly, it's best for the vast majority of users (and the project) to require an input device to be present, as to avoid frustration and hassle, but for those brave souls that so prefer, this patch lets them run without any input device at all.

This introduces a simple configuration in weston.ini: [core] require-input=true

True is the default, so no behavioral change is introduced.

[1] https://lists.freedesktop.org/archives/wayland-devel/2015-November/025193.html

75b7197 Add configuration option for no input device.
compositor/main.c | 5 +++++
libweston/compositor.h | 4 ++++
libweston/libinput-seat.c | 6 ++++++
man/weston.ini.man | 5 +++++
weston.ini.in | 1 +
5 files changed, 21 insertions(+)

Upstream: cgit.freedesktop.org


  • Share