Reset scroll state on finger configuration change

When scrolling, the current code remembers how close the movement is
to emitting a scroll button, in order to produce a continuous stepping
motion. However, when the finger configuration on the trackpad
changes, this state should start over again, or the next scolling
gesture may scroll prematurely. This patch resets the scrolling state
when a change is detected, which fixes the problem.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
1 file changed
tree: 57ff9469cc558ffc3991d85ad2b3606ce6546a9b
  1. debian/
  2. fdi/
  3. match/
  4. src/
  5. .gitignore
  6. COPYING
  7. CREDITS
  8. Makefile