[PATCH weston] libinput: don't fail if no input device exists

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Tue Nov 3 05:32:51 PST 2015


There is no reason to fail at udev_input_init,
if no input device is recognized by libinput.

An input device can be hot-plugged later.

Signed-off-by: Emre Ucan <eucan at de.adit-jv.com>
---
 src/libinput-seat.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libinput-seat.c b/src/libinput-seat.c
index 5b2dbec..e5b0168 100644
--- a/src/libinput-seat.c
+++ b/src/libinput-seat.c
@@ -266,7 +266,6 @@ udev_input_enable(struct udev_input *input)
 			"\t- seats misconfigured "
 			"(Weston backend option 'seat', "
 			"udev device property ID_SEAT)\n");
-		return -1;
 	}
 
 	return 0;
-- 
1.7.9.5



More information about the wayland-devel mailing list