From 53b41c789060a6ea953c5d56956d071130e71701 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 4 Dec 2013 15:34:47 +0200 Subject: [PATCH] rpi: seat quick fix MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix the default seat name, so that we can find the input devices by default. This is just a quick fix. Further enhancement would be to make the default seat on rpi taken from a command line option like the other backends do. Furthermore, udev_input_init() should accept NULL as seat to use the default seat, avoiding us hardcoding "seat0" all over. Cc: Jonas Ådahl Signed-off-by: Pekka Paalanen --- src/compositor-rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-rpi.c b/src/compositor-rpi.c index c3dda2e..7d95e83 100644 --- a/src/compositor-rpi.c +++ b/src/compositor-rpi.c @@ -513,7 +513,7 @@ rpi_compositor_create(struct wl_display *display, int *argc, char *argv[], if (udev_input_init(&compositor->input, &compositor->base, - compositor->udev, "ID_SEAT") != 0) { + compositor->udev, "seat0") != 0) { weston_log("Failed to initialize udev input.\n"); goto out_udev; } -- 2.7.4