[PATCH] compositor-drm: launch without input devices

Andrea Giammarchi andrea.giammarchi at gmail.com
Thu Oct 12 14:49:43 UTC 2017


I thought this was resolved via `require-input=false` in weston.ini, which
works already for the Pi too.

Is this patch enabling that directive automatically?

On Thu, Oct 12, 2017 at 10:30 AM, Leon Anavi <leon.anavi at konsulko.com>
wrote:

> During demonstrations of Automotive Grade Linux (AGL), GENIVI Development
> Platform (GDP), Tizen and other platforms relying on Weston it is very
> convenient to launch it even if there are no input devices such as a
> keyboard or a mouse. This fix is particularly useful for Raspberry Pi
> which is a frequently used and a very popular board in the community.
>
> Signed-off-by: Leon Anavi <leon.anavi at konsulko.com>
> ---
>  libweston/compositor-drm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
> index b641d61..5eebd2a 100644
> --- a/libweston/compositor-drm.c
> +++ b/libweston/compositor-drm.c
> @@ -4091,7 +4091,6 @@ drm_backend_create(struct weston_compositor
> *compositor,
>                             compositor, b->udev, seat_id,
>                             config->configure_device) < 0) {
>                 weston_log("failed to create input devices\n");
> -               goto err_sprite;
>         }
>
>         if (create_outputs(b, drm_device) < 0) {
> --
> 2.7.4
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171012/8fdb24ff/attachment.html>


More information about the wayland-devel mailing list