One of the touches is assumed to be solely for pressing the clickpad button.
Signed-off-by: Chase Douglas <[email protected]> --- src/synaptics.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index e2e23cb..4a3b46f 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -2650,6 +2650,10 @@ HandleTouches(InputInfoPtr pInfo, struct SynapticsHwState *hw) para->scroll_twofinger_vert || para->scroll_twofinger_horiz) min_touches = 3; + /* Assume one of the touches is used to press clickpad button */ + if (para->clickpad && (hw->left || hw->right || hw->middle)) + min_touches++; + /* Count new number of active touches */ for (i = 0; i < hw->num_mt_mask; i++) { -- 1.7.8.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
