summaryrefslogtreecommitdiff
path: root/src/udev-seat.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-09-17 14:41:03 -0700
committerJonas Ådahl <jadahl@gmail.com>2013-11-16 21:54:07 +0100
commit0b0c842a09d9fb901bd9aadc2d60afcb03f144b3 (patch)
tree2ac8f13e6985ac7d5120218c23b55971237e98f7 /src/udev-seat.c
parent1605e9ab19f3c6fbdfc8ccbf40f7e213d855d01a (diff)
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.
Diffstat (limited to 'src/udev-seat.c')
-rw-r--r--src/udev-seat.c2
1 files changed, 1 insertions, 1 deletions
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;