gestures: avoid processing the last hold and motion event twice
authorJosé Expósito <jose.exposito89@gmail.com>
Thu, 7 Oct 2021 06:34:43 +0000 (08:34 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Thu, 7 Oct 2021 06:34:43 +0000 (08:34 +0200)
commitcf929e98351662243b64b41cdb7c9ce4bb7455d8
tree7d0b2fe5c2c6351fa1d562643676b62d3bf6b8dc
parent89cd0f990e3bee9906754d6ca8484ed5aa392249
gestures: avoid processing the last hold and motion event twice

During the transition from GESTURE_STATE_HOLD_AND_MOTION to
GESTURE_STATE_POINTER_MOTION the last pointer motion event was
processed twice.

Fix #680

Signed-off-by: José Expósito <jose.exposito89@gmail.com>
src/evdev-mt-touchpad-gestures.c