[PATCH v3] Add configuration option for no input device.

Daniel Stone daniel at fooishbar.org
Fri Oct 21 16:30:54 UTC 2016


On 20 October 2016 at 23:12, Daniel Díaz <daniel.diaz at linaro.org> wrote:
> 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.

../compositor/main.c: In function ‘main’:
../compositor/main.c:1827:12: warning: passing argument 3 of
‘weston_config_section_get_bool’ from incompatible pointer type
            &require_input, true);
In file included from ../libweston/compositor.h:45:0,
                 from ../compositor/weston.h:33,
                 from ../compositor/main.c:51:
../shared/config-parser.h:103:1: note: expected ‘int *’ but argument
is of type ‘_Bool *’
 weston_config_section_get_bool(struct weston_config_section *section,


More information about the wayland-devel mailing list