mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 20:20:06 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
If read() fails without EAGAIN/EINTR, the device is very likely dead. However, we must not remove the device as it might be muted/revoked. So we simply remove the event-source to avoid polling the device and simply wait for the udev-remove signal now. Note that we cannot call evdev_device_destroy() as the caller created the FD and might need custom code to close it (like weston_launcher_close()). |
||
|---|---|---|
| src | ||