libinput/src
Peter Hutterer 5b5b6bca06 Drop seat events
seats are more a compositor concept than a concept of the input library. All
devices in a libinput context are associated with the seat given on creation
of the seat (maps to ID_SEAT in udev for the udev backend).

A logical seat may be assigned to a device (e.g. WL_SEAT) but this does not
necessarily map to the creation of the seat in the compositor.
Drop the seat events but keep seat objects around so that the caller can still
identify which seat a device belongs to.

If the libinput_seat_unref() in the udev backend destroys the seat, the device
list of that seat is invalid and we'd be accessing already freed bytes. To
avoid this, ref the seat before the device removal loop, then unref it once
we're done - that unref then may trigger the actual removal of the seat.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-01-17 18:17:11 +10:00
..
evdev-touchpad.c Fix typo in comment 2013-12-21 12:10:38 +01:00
evdev.c Drop capability events 2014-01-10 11:08:40 +10:00
evdev.h evdev: Remove EVDEV_TOUCH and with it evdev_device->caps 2013-12-21 12:49:17 +01:00
filter.c Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
filter.h Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput-private.h Drop seat events 2014-01-17 18:17:11 +10:00
libinput-util.c util: Add logging utilities 2013-11-23 12:55:44 +01:00
libinput-util.h util: add ARRAY_FOR_EACH helper 2013-12-21 12:09:55 +01:00
libinput-version.h.in Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput.c Drop seat events 2014-01-17 18:17:11 +10:00
libinput.h Drop seat events 2014-01-17 18:17:11 +10:00
libinput.pc.in Add libudev and -lm to Requires.private 2013-12-21 12:10:19 +01:00
Makefile.am Add libinput_create_from_path 2014-01-10 11:08:24 +10:00
path.c Drop seat events 2014-01-17 18:17:11 +10:00
path.h Add libinput_create_from_path 2014-01-10 11:08:24 +10:00
udev-seat.c Drop seat events 2014-01-17 18:17:11 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00