touchpad: drop distance threshold to detect pinches
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 28 Jul 2015 02:54:16 +0000 (12:54 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 30 Jul 2015 00:52:15 +0000 (10:52 +1000)
commit6b59b4273c38570258519d16357dd0953b650bc8
tree408356b72857918a7dc18643386fb920ece9249a
parent0d40aefecad44982cb90f9bfe3c3e33102c2bd27
touchpad: drop distance threshold to detect pinches

This gives us too many false positives of 2fg scroll being detected as pinch
gesture. Reporter in [1] uses index+ring finger and thus exceeds the distance
easily (that's admittedly a special case).

This is worsed by the lack of a client stack that handles the gestures. User's
don't see that they're inadvertently performing a gesture, they just see 2fg
scroll not working.

Drop the distance for now, once we have a ubiquitous client stack we can
revisit and bring it back.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1246868

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