From 2d111826899d788eac3b76ecca902598a9e730b3 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 16 May 2018 11:56:12 +1000 Subject: [PATCH] test: assume Wacom devices are external touchpads Same as the code itself does. Signed-off-by: Peter Hutterer --- test/litest.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/litest.h b/test/litest.h index acd298db..26b93657 100644 --- a/test/litest.h +++ b/test/litest.h @@ -1019,6 +1019,9 @@ litest_touchpad_is_external(struct litest_device *dev) const char *prop; bool is_external; + if (libinput_device_get_id_vendor(dev->libinput_device) == VENDOR_ID_WACOM) + return true; + udev_device = libinput_device_get_udev_device(dev->libinput_device); prop = udev_device_get_property_value(udev_device, "ID_INPUT_TOUCHPAD_INTEGRATION");