touchpad: drop thumb handling from gestures
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 15 Jul 2015 00:04:46 +0000 (10:04 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 15 Jul 2015 22:09:50 +0000 (08:09 +1000)
commit9784b1d4519b0b806777cadf88d7d9d8141c4197
tree0bee956d264be6b9d84a718a8051dbb2f3d642a8
parentabed81f29b8db2277b86c576b7521152946171a0
touchpad: drop thumb handling from gestures

Thumb detection interfered with gestures a fair bit but it shouldn't. A pinch
gesture with a thumb is a fairly natural move so we shouldn't cancel that.
A swipe gesture with a thumb on the touchpad - well, don't do that. No need
for code here.

Reported-by: Carlos Garnacho <carlosg@gnome.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
src/evdev-mt-touchpad-gestures.c
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h