[PATCH libinput v3 15/17] touchpad: Remove clickpad clicked test from 2 finger scrolling handling
Hans de Goede
hdegoede at redhat.com
Tue May 20 07:35:03 PDT 2014
This is no longer needed now that we take the button area and pinned fingers
into account.
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/evdev-mt-touchpad.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index fc4a4f7..05c622b 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -501,11 +501,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))
--
1.9.0
More information about the wayland-devel
mailing list