Re: [PATCH] touchpad: Make sure we don't underflow tap_finger_count

2015-04-29 Thread Peter Hutterer
On Wed, Apr 29, 2015 at 07:18:55PM +0200, Rui Matos wrote: > If a touch begins before tap gets enabled we underflow > tap_finger_count when the touch ends. > > This happens in practice when enabling tapping on a GUI with a > touchpad click. > > Signed-off-by: Rui Matos > --- > > This patch seem

[PATCH] touchpad: Make sure we don't underflow tap_finger_count

2015-04-29 Thread Rui Matos
If a touch begins before tap gets enabled we underflow tap_finger_count when the touch ends. This happens in practice when enabling tapping on a GUI with a touchpad click. Signed-off-by: Rui Matos --- This patch seems enough to fix the issue in my testing but I'm not familiar with the state mac