touchpad: ignore motion on finger-up
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Wed, 13 Jun 2018 11:38:20 +0000 (14:38 +0300)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 15 Jun 2018 00:10:13 +0000 (10:10 +1000)
commit734496d972152dc9998f884c840550dc34c7088a
tree4f5787d813f9e4cfbc0c177a3f51770bb3eec3c4
parent0d6dea5d8fd3f855377d954ea6bda24035fe5ca5
touchpad: ignore motion on finger-up

Ignore motion when pressure/touch size fell below the threshold, thus
ending the touch.

Real world significance: subjectively scrolling/cursor positioning with
a touchpad now a bit better on SAMSUNG NP305V5A laptop.

https://gitlab.freedesktop.org/libinput/libinput/merge_requests/4

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
src/evdev-mt-touchpad.c