[PATCH] compositor-drm: launch without input devices

Leon Anavi leon.anavi at konsulko.com
Thu Oct 12 13:30:46 UTC 2017


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



More information about the wayland-devel mailing list