summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/synaptics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index c3db2be..df29358 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -1247,7 +1247,8 @@ HandleTapProcessing(SynapticsPrivate *priv, struct SynapticsHwState *hw,
touch = finger && !priv->finger_state;
release = !finger && priv->finger_state;
- move = (((abs(hw->x - priv->touch_on.x) >= para->tap_move) ||
+ move = ((priv->tap_max_fingers <= ((priv->horiz_scroll_twofinger_on || priv->vert_scroll_twofinger_on)? 2 : 1)) &&
+ ((abs(hw->x - priv->touch_on.x) >= para->tap_move) ||
(abs(hw->y - priv->touch_on.y) >= para->tap_move)));
if (touch) {