[PATCH synaptics] eventcomm: fix typo checking for two-finger scrolling
Peter Hutterer
peter.hutterer at who-t.net
Tue Apr 26 23:54:13 UTC 2016
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/eventcomm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.7.4
More information about the xorg-devel
mailing list