diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-09-01 17:17:18 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-09-18 13:29:42 +1000 |
commit | 45a7edb3fb08f10652c9157243c9191a9b55c9b2 (patch) | |
tree | 6d23ab34a9095183ad2dd8fec3747a1549c03631 /src/evdev-mt-touchpad-tap.c | |
parent | 49e630376b024ca86214497f0ee0bdd4229ba0e1 (diff) |
touchpad: hook up sendevents configuration
We may be in the middle of a software button click or a tap, so make sure we
go back to the device-neutral state by unwinding.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'src/evdev-mt-touchpad-tap.c')
-rw-r--r-- | src/evdev-mt-touchpad-tap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/evdev-mt-touchpad-tap.c b/src/evdev-mt-touchpad-tap.c index a19d51e..8f055fc 100644 --- a/src/evdev-mt-touchpad-tap.c +++ b/src/evdev-mt-touchpad-tap.c @@ -693,3 +693,9 @@ tp_destroy_tap(struct tp_dispatch *tp) { libinput_timer_cancel(&tp->tap.timer); } + +void +tp_release_all_taps(struct tp_dispatch *tp, uint64_t now) +{ + tp_tap_handle_timeout(now, tp); +} |