summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Osipov <simba@lerlan.ru>2012-01-03 15:13:38 +0700
committerJason Gerecke <killertofu@gmail.com>2012-01-03 09:25:22 -0800
commit7a7af3eb1c5e809aa7020795b3c170f6360d6c5f (patch)
treece6b82e92880d445e0c4fe1c8dd65af303439db2
parentba851feb1a5f28ff3e68ef07bc84a7d75e3444ea (diff)
Extra right clicks removed.
As right click performed with second finger, then we only interested in second finger touch when trying to match 'right click' gesture. Signed-off-by: Alexey Osipov <simba@lerlan.ru> Reviewed-by: Chris Bagwell <chris@cnpgabwell.com> Acked-by: Ping Cheng <pinglinux@gmail.com>
-rw-r--r--src/wcmTouchFilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmTouchFilter.c b/src/wcmTouchFilter.c
index 7fa2975..047490b 100644
--- a/src/wcmTouchFilter.c
+++ b/src/wcmTouchFilter.c
@@ -321,7 +321,7 @@ void wcmGestureFilter(WacomDevicePtr priv, int channel)
goto ret;
}
- if (!(common->wcmGestureMode & (GESTURE_SCROLL_MODE | GESTURE_ZOOM_MODE)))
+ if (!(common->wcmGestureMode & (GESTURE_SCROLL_MODE | GESTURE_ZOOM_MODE)) && channel)
wcmFingerTapToClick(priv);
/* Change mode happens only when both fingers are out */