touchpad: check the pointer touch for history size
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 15 Jul 2014 06:01:49 +0000 (16:01 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 16 Jul 2014 04:38:12 +0000 (14:38 +1000)
commit8665e3678ab07b7071c70d75b137e0528be70e84
tree91c527e51d755de3698ebd0daca92874a801a987
parent9de131f08253595821cb94a083dcc1ff62325467
touchpad: check the pointer touch for history size

The current touch may not be the pointer touch, so it's pointless checking the
history size on that touch. Instead, search for the pointer touch first, check
if it's dirty and then check the history size.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c