tap: log a tap bug for release on MULTITAP_PALM
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 13 Jul 2018 01:08:56 +0000 (11:08 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 13 Jul 2018 01:08:56 +0000 (11:08 +1000)
If we get here, the finger may only triger a PALM_UP but not a RELEASE event.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad-tap.c

index 90335e1..e531fd9 100644 (file)
@@ -791,7 +791,7 @@ tp_tap_multitap_palm_handle_event(struct tp_dispatch *tp,
 {
        switch (event) {
        case TAP_EVENT_RELEASE:
-               /* This is the palm finger */
+               log_tap_bug(tp, t, event);
                break;
        case TAP_EVENT_TOUCH:
                tp->tap.state = TAP_STATE_MULTITAP_DOWN;