diff options
-rw-r--r-- | src/eventcomm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index 5f55141..9c9a036 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -710,7 +710,7 @@ EventReadHwState(InputInfoPtr pInfo, /* Reset cumulative values if buttons were not previously pressed and no * two-finger scrolling is ongoing, or no finger was previously present. */ if (((!hw->left && !hw->right && !hw->middle) && - !(priv->vert_scroll_twofinger_on || priv->vert_scroll_twofinger_on)) || + !(priv->vert_scroll_twofinger_on || priv->horiz_scroll_twofinger_on)) || hw->z < para->finger_low) { hw->cumulative_dx = hw->x; hw->cumulative_dy = hw->y; |