mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
touchpad: ignore thumbs during edge scrolling
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7a7595e044
commit
0cfe8b0808
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue