Commit dda6f733 authored by Peter Hutterer's avatar Peter Hutterer

test: make the touchpad size the only check for thumb detection

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 8e4d820e
......@@ -5000,9 +5000,6 @@ has_thumb_detect(struct litest_device *dev)
{
double w, h;
if (!libevdev_has_event_code(dev->evdev, EV_ABS, ABS_MT_PRESSURE))
return 0;
if (libinput_device_get_size(dev->libinput_device, &w, &h) != 0)
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment