GNOME Bugzilla – Bug 793029
Device lookup failures if multiple devices share the same event node.
Last modified: 2018-03-02 14:44:37 UTC
On older kernels and wacom.ko modules, the driver may create a single event node that the X11 wacom driver manages to split into stylus/pad devices. This plays odd with the way GsdDeviceManagerX11 does device accounting (by keeping a HT of the devices using device node paths as keys) resulting in the device that is added last to prevail over the others. This code can be simplified though by making the HT use GdkDevice directly as the key, which does allow for devices with shared event node.
Created attachment 367647 [details] [review] common: Use GdkDevices directly as HT keys on GsdDeviceManagerX11 The dance we do to fetch event nodes from devices seems a bit superfluous now, and even wrong if multiple X11 devices boil down to the same event node.
Pushed to master. Attachment 367647 [details] pushed as 3bd8081 - common: Use GdkDevices directly as HT keys on GsdDeviceManagerX11
*** Bug 793929 has been marked as a duplicate of this bug. ***