summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-03-02 11:48:59 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-03-02 11:49:32 +1000
commita60afbeec39f7de4a03103dab26701b506dc93d0 (patch)
tree0c77201d32331808728ce4e4a52fe29ab78ab788 /src
parent2bb0678a00f9c089dc865d6ecd20be36446d1c06 (diff)
touchpad: use the udev property over a compile-time vendor ID check
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev-mt-touchpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 95d650a9..00d65396 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -1299,7 +1299,7 @@ tp_dwt_device_is_blacklisted(struct evdev_device *device)
return true;
/* Wacom makes touchpads, but not internal ones */
- if (libevdev_get_id_vendor(device->evdev) == VENDOR_ID_WACOM)
+ if (device->model_flags & EVDEV_MODEL_WACOM_TOUCHPAD)
return true;
return false;