mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-05 01:40:29 +01:00
read-only mirror of https://gitlab.freedesktop.org/libinput/libinput
Use the seat's internal refcounting to up the reference each time we have a device using it. This fixes the issue with seats being created but never actually removed by anything. udev_seat_get_named() will now return a seat with refcount 1 for a newly created seat, or just up the refcount for the seat if it already exists. This requires that the ADDED_SEAT and REMOVED_SEAT events up the refcount of the seat as well: a device may be removed before the event is processed, without the refcount the seat would be destroyed (if it's the last device on the seat). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| doc | ||
| m4 | ||
| src | ||
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| Makefile.am | ||
| README | ||
This library does processing on input device events while providing an API to the the user used for delegating more useful input events. Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc. It is based on the input code from the weston Wayland reference compositor. It has no other dependencies than libmtdev and supports only evdev devices.