mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 09:44:40 +00:00
eventcomm: fix typo checking for two-finger scrolling
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user