From 0b0c842a09d9fb901bd9aadc2d60afcb03f144b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 17 Sep 2013 14:41:03 -0700 Subject: [PATCH] launcher: Collect launcher state in new struct weston_launcher We're going to add a bit more launcher state, so start out by creating a new struct weston_launcher we can track it in. --- src/udev-seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev-seat.c b/src/udev-seat.c index 4c051c9b..4ef7ff33 100644 --- a/src/udev-seat.c +++ b/src/udev-seat.c @@ -75,7 +75,7 @@ device_added(struct udev_device *udev_device, struct udev_input *input) /* Use non-blocking mode so that we can loop on read on * evdev_device_data() until all events on the fd are * read. mtdev_get() also expects this. */ - fd = weston_launcher_open(c, devnode, O_RDWR | O_NONBLOCK); + fd = weston_launcher_open(c->launcher, devnode, O_RDWR | O_NONBLOCK); if (fd < 0) { weston_log("opening input device '%s' failed.\n", devnode); return 0;