A thumb may not move, but may change pressure so we need to process
accordingly.

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

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index c06b517..0b39bf6 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -315,6 +315,8 @@ tp_process_absolute(struct tp_dispatch *tp,
                break;
        case ABS_MT_PRESSURE:
                t->pressure = e->value;
+               t->dirty = true;
+               tp->queued |= TOUCHPAD_EVENT_MOTION;
                break;
        }
 }
-- 
2.4.3

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

Reply via email to