Find a file
Peter Hutterer 6fcaf7699c udev: Refcount the seat for each device
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>
2014-01-10 11:08:21 +10:00
doc doc: extract static members as well 2013-12-21 12:11:03 +01:00
m4 Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
src udev: Refcount the seat for each device 2014-01-10 11:08:21 +10:00
.gitignore gitignore: ignore ctags files 2014-01-07 21:23:36 +01:00
autogen.sh Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
configure.ac configure: require c99 2013-12-15 21:07:50 +01:00
Makefile.am doc: hook up doxygen to generate the public API documentation 2013-12-07 14:06:46 +01:00
README Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00

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.