linuxwacom / xf86-input-wacom

X.Org driver for Wacom devices
361 stars 45 forks source link

Bring two finger right-click function back #285

Closed Pinglinux closed 2 years ago

Pinglinux commented 2 years ago

Patch 65b7c37 fixed spurious right-clicks by setting wcmGestureMode back to GESTURE_CANCEL_MODE immediately when there is less than two fingers on the tablet, if the wcmGestureMode was in SCROLL_MODE or ZOOM_MODE.

However, it narrowed wcmFingerTapToClick() routine to LAG_MODE, which removed the opportunity for the routine to be executed. Revert that.

The issue was reported by https://github.com/linuxwacom/xf86-input-wacom/issues/103

Fixes: 65b7c37 (Prevent spurious right-clicks at the end of very short scroll and zoom gestures)

Signed-off-by: Ping Cheng ping.cheng@wacom.com

whot commented 2 years ago

Merged, thanks!