[PATCH libinput 1/4] touchpad: reset the palm state to NONE on a new touch

Peter Hutterer peter.hutterer at who-t.net
Wed Feb 21 06:22:29 UTC 2018


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 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;
-- 
2.14.3



More information about the wayland-devel mailing list