From 402b179bc7af07f2df4913359acda9ae1791a8f0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 21 Feb 2018 15:08:31 +1000 Subject: [PATCH] touchpad: reset the palm state to NONE on a new touch Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index b3ed6d56..fdb7b452 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -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;