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 <[email protected]> --- Changes to previous version: - none (resend original patch in a new clean series) This patch was: Reviewed-by: Chris Bagwell <[email protected]> Acked-by: Ping Cheng <[email protected]> src/wcmTouchFilter.c | 2 +- 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 */ -- 1.7.0.4 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
