diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-09 10:06:54 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2012-02-10 13:19:10 -0800 |
commit | 4eacfda517615892903d73e631a0b748a6282e65 (patch) | |
tree | 7a9bf4006e483372f95c61fa14e2cd65cf28f86f | |
parent | 71d7ceb7e2c86d93eed8a60012eefb119f12b5fe (diff) |
Filter touch events if two-finger scrolling is enabledmultitouch-synaptics-ubuntu
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | src/synaptics.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c index dfeb0c4..7b3f680 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -2607,9 +2607,10 @@ HandleTouches(InputInfoPtr pInfo, struct SynapticsHwState *hw) Bool restart_touches = FALSE; int i; - if (para->click_action[F3_CLICK1] || para.tap_action[F3_TAP]) + if (para->click_action[F3_CLICK1] || para->tap_action[F3_TAP]) min_touches = 4; - else if (para->click_action[F2_CLICK1] || para.tap_action[F2_TAP]) + else if (para->click_action[F2_CLICK1] || para->tap_action[F2_TAP] || + para->scroll_twofinger_vert || para->scroll_twofinger_horiz) min_touches = 3; /* Count new number of active touches */ |