mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 23:50:18 +01:00
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.
This commit is contained in:
parent
1605e9ab19
commit
0b0c842a09
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue