[PATCH xf86-input-libinput] Ensure parent devices are actual parent devices
keithp at keithp.com
Mon Aug 15 05:49:52 UTC 2016
Peter Hutterer <peter.hutterer at who-t.net> writes:
> The list returned by xf86FirstLocalDevice() includes our own device. If the
> parent device is removed before the hotplug callback is invoked, the first
> match with the same shared-device ID is our own device (or potentially another
> subdevice on the same already-removed parent). Avoid this by making sure the
> matched device is actually a parent device.
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Tested-by: Keith Packard <keithp at keithp.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 810 bytes
Desc: not available
More information about the xorg-devel