X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl%2Frecipes-graphics%2Fwayland%2Fweston%2F0001-compositor-drm.c-Launch-without-input-devices.patch;h=6b47b5e893786030ee3dbd1291f624e80bfa835d;hb=2698d8a0d86078bacfe38edd5678ffa48d1bfc94;hp=93b7739fdc2552e484640a95076c3323e0e289f9;hpb=be701d7ffe089beda665c198cde0079588adb3a5;p=AGL%2Fmeta-agl.git diff --git a/meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch b/meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch index 93b7739fd..6b47b5e89 100644 --- a/meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch +++ b/meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch @@ -1,28 +1,27 @@ -From 43f66e20a6788388df4fc052d257f005c359080f Mon Sep 17 00:00:00 2001 +From 9da4f513547b4a4f0972cc718b55ba3fc5271c87 Mon Sep 17 00:00:00 2001 From: Leon Anavi -Date: Wed, 14 Dec 2016 12:26:31 +0200 +Date: Tue, 10 Oct 2017 17:21:09 +0300 Subject: [PATCH] compositor-drm.c: Launch without input devices -Launch Weston 11 even if input devices (such as -a keyboard, a mouse or a touchscreen) are not -present. +Launch Weston 2.0 even if there are no input devices. Signed-off-by: Leon Anavi --- - src/compositor-drm.c | 1 - + libweston/compositor-drm.c | 1 - 1 file changed, 1 deletion(-) -diff --git a/src/compositor-drm.c b/src/compositor-drm.c -index fd89627..f66e0af 100644 ---- a/src/compositor-drm.c -+++ b/src/compositor-drm.c -@@ -3123,7 +3123,6 @@ drm_backend_create(struct weston_compositor *compositor, - if (udev_input_init(&b->input, - compositor, b->udev, seat_id) < 0) { +diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c +index 1d38f05..afe0dea 100644 +--- a/libweston/compositor-drm.c ++++ b/libweston/compositor-drm.c +@@ -3278,7 +3278,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, config->connector, drm_device) < 0) { + b->connector = config->connector; -- 2.7.4 +