diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2013-12-04 15:34:47 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-12-04 11:38:26 -0800 |
commit | 53b41c789060a6ea953c5d56956d071130e71701 (patch) | |
tree | dd5818d95b202256f3c5dbff8588fa4dff97d8d7 /src | |
parent | bc91e5120c46e76e36306f2e07045e991fffe921 (diff) |
rpi: seat quick fix
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 <jadahl@gmail.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor-rpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor-rpi.c b/src/compositor-rpi.c index c3dda2e2..7d95e83c 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; } |