• Peter Hutterer's avatar
    x11: don't add unknown tools to our list · c6dd9229
    Peter Hutterer authored
    Generic tools (Bamboo, built-in tablets) always have the same serial number
    assigned by the wacom driver. This includes the touch tool when the wacom
    driver handles the touch evdev node (common where users require the wacom
    gestures to work).
    
    When the first device is the touch device, a tool is created with that serial.
    All future tools now return the touch tool on lookup since they all share the
    same serial number. Worse, this happens *across* devices, so the pen
    event node gets assigned the touch tool because they all have the same serial.
    
    Since we don't actually care about the touch as a tool, let's skip any unknown
    tool. This captures pads as well.
    c6dd9229
Name
Last commit
Last update
.gitlab-ci Loading commit data...
build Loading commit data...
build-aux/flatpak Loading commit data...
demos Loading commit data...
docs Loading commit data...
examples Loading commit data...
gdk Loading commit data...
gtk Loading commit data...
libgail-util Loading commit data...
m4 Loading commit data...
m4macros Loading commit data...
modules Loading commit data...
po Loading commit data...
po-properties Loading commit data...
tests Loading commit data...
testsuite Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
INSTALL.in Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.decl Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
README.commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.ac Loading commit data...
gail-3.0.pc.in Loading commit data...
gdk-3.0.pc.in Loading commit data...
git.mk Loading commit data...
gtk+-3.0.pc.in Loading commit data...
gtk+-unix-print-3.0.pc.in Loading commit data...
gtk+.doap Loading commit data...
gtk-zip.sh.in Loading commit data...
make-pot Loading commit data...
makefile.msc Loading commit data...
sanitize-la.sh Loading commit data...