diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-04-27 09:29:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-04-27 09:29:27 +1000 |
commit | f1f58fffbf482de74bc7907e0af69feb9fe88a45 (patch) | |
tree | cfa470b6bdd2f77bac599910cec4a6b53a7e4896 | |
parent | 0a4cf80a00663ff3ce8e76baf0940782576efe13 (diff) |
eventcomm: fix typo checking for two-finger scrolling
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-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; |