diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2016-10-24 15:24:57 +0300 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2016-10-24 15:03:47 +0000 |
commit | f6320f5660db15a207f69fbe2ea6e837bd832b34 (patch) | |
tree | 21988012108f4a816a5447db253a339e395cf45b /meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch | |
parent | 557b015963c8f0b54baa772595252b101d9012eb (diff) |
weston: Launch even without input devices
Launch Weston even if there are no input devices
such a keyboard or a mouse.
Bug-AGL: SPEC-297
Change-Id: I3187b310b1024ef77d4696a06b325bface5de2b3
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch')
-rw-r--r-- | meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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 new file mode 100644 index 000000000..0d7b9ee61 --- /dev/null +++ b/meta-agl/recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch @@ -0,0 +1,28 @@ +From d46538cde290f2638d3631a8789f659b433c2d2a Mon Sep 17 00:00:00 2001 +From: Leon Anavi <leon.anavi@konsulko.com> +Date: Mon, 24 Oct 2016 14:54:02 +0300 +Subject: [PATCH] compositor-drm.c: Launch without input devices + +Launch Weston 1.9 even if input devices (such as +a keyboard or a mouse) are not present. + +Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> +--- + src/compositor-drm.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/compositor-drm.c b/src/compositor-drm.c +index 6777bf8..ab493ad 100644 +--- a/src/compositor-drm.c ++++ b/src/compositor-drm.c +@@ -3149,7 +3149,6 @@ drm_backend_create(struct weston_compositor *compositor, + if (udev_input_init(&b->input, + compositor, b->udev, param->seat_id) < 0) { + weston_log("failed to create input devices\n"); +- goto err_sprite; + } + + if (create_outputs(b, param->connector, drm_device) < 0) { +-- +2.7.4 + |