mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 01:50:14 +01:00
touchpad: reset the palm state to NONE on a new touch
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8353eeb5a8
commit
402b179bc7
1 changed files with 1 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ tp_new_touch(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time)
|
|||
t->dirty = true;
|
||||
t->has_ended = false;
|
||||
t->was_down = false;
|
||||
t->palm.state = PALM_NONE;
|
||||
t->state = TOUCH_HOVERING;
|
||||
t->pinned.is_pinned = false;
|
||||
t->time = time;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue