mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-09 21:30:15 +01:00
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:
parent
55b2ea65f3
commit
a70ef98d57
1 changed files with 0 additions and 5 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue