Signed-off-by: Peter Hutterer <[email protected]>
---
 src/evdev-mt-touchpad.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 19ec99e..0627056 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -547,7 +547,8 @@ tp_unhover_touches(struct tp_dispatch *tp, uint64_t time)
                for (i = tp->ntouches - 1; i >= 0; i--) {
                        t = tp_get_touch(tp, i);
 
-                       if (t->state == TOUCH_HOVERING)
+                       if (t->state == TOUCH_HOVERING ||
+                           t->state == TOUCH_NONE)
                                continue;
 
                        tp_end_touch(tp, t, time);
-- 
2.3.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to