[PATCH xf86-input-libinput] Ensure parent devices are actual parent devices

Keith Packard 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>

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160814/5b9e36b0/attachment.sig>


More information about the xorg-devel mailing list