touchpad: ignore thumbs during edge scrolling

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-08-30 14:00:09 +10:00
parent 7a7595e044
commit 0cfe8b0808

View file

@ -384,7 +384,8 @@ tp_edge_scroll_post_events(struct tp_dispatch *tp, uint64_t time)
if (!t->dirty)
continue;
if (t->palm.state != PALM_NONE)
if (t->palm.state != PALM_NONE ||
t->thumb.state == THUMB_STATE_YES)
continue;
/* only scroll with the finger in the previous edge */