touchpad: if a palm touch moves out of the edge zone within a timeout, unpalm
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 14 Jul 2014 06:06:51 +0000 (16:06 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 20 Jul 2014 22:56:12 +0000 (08:56 +1000)
commit9ecce8e2f73e9115f680755745d9c0d8c4e50a00
tree6f9432421ab6ea7568d5e244429efafbd689f1f8
parentec7fc30ae2176c7361c1eb26c4c53e98382cbb6d
touchpad: if a palm touch moves out of the edge zone within a timeout, unpalm

On small touchpads a touch that is intended to traverse much of the screen
width may start at the very edge, i.e. in the palm zone.
In that case, and if the touch moves out of the palm zone quickly enough, drop
the palm label and make it a normal touchpoint.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h
test/touchpad.c