touchpad: Remove clickpad clicked test from 2 finger scrolling handling

This is no longer needed now that we take the button area and pinned fingers
into account.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Hans de Goede 2014-04-08 08:39:11 +02:00
parent 55b2ea65f3
commit a70ef98d57

View file

@ -502,11 +502,6 @@ tp_post_scroll_events(struct tp_dispatch *tp, uint32_t time)
struct tp_touch *t;
int nfingers_down = 0;
/* don't scroll if a clickpad is held down */
if (tp->buttons.is_clickpad &&
(tp->buttons.state || tp->buttons.old_state))
return 0;
/* Only count active touches for 2 finger scrolling */
tp_for_each_touch(tp, t) {
if (tp_touch_active(tp, t))