On Fri, Dec 30, 2011 at 11:21 AM, Chris Bagwell <[email protected]> wrote: > I had wanted to change 2nd-finger tap gesture to a 2 finger tap (the > difference being that in former you leave 1st finger touching and in > later you tap both fingers and release both fingers). > > But I may never get around to that since gestures are moving outside X > soon enough. > > So in mean time, this patch looks good to remove chance of second > unwanted click. > > Reviewed-by: Chris Bagwell <[email protected]>
Acked-by: Ping Cheng <[email protected]> Thank you, Alexey and Chris, for your support. I wish everyone a Happy New Year! Ping > On Sat, Dec 24, 2011 at 12:18 AM, Alexey Osipov <[email protected]> wrote: >> 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]> >> --- >> 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 >> ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
