touchpad: Prefix tap-debugging message
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 5 Jun 2014 06:04:00 +0000 (16:04 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 10 Jun 2014 23:58:55 +0000 (09:58 +1000)
For consistency with the butto state debugging

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

index 6e358eec34131d3539c16759bdc63c28946c6c10..34bb0d0bccc9d10c0d37b7024cc1a9357ef33ed6 100644 (file)
@@ -477,7 +477,10 @@ tp_tap_handle_event(struct tp_dispatch *tp, enum tap_event event, uint64_t time)
        if (tp->tap.state == TAP_STATE_IDLE || tp->tap.state == TAP_STATE_DEAD)
                tp_tap_clear_timer(tp);
 
-       log_debug("%s → %s → %s\n", tap_state_to_str(current), tap_event_to_str(event), tap_state_to_str(tp->tap.state));
+       log_debug("tap state: %s → %s → %s\n",
+                 tap_state_to_str(current),
+                 tap_event_to_str(event),
+                 tap_state_to_str(tp->tap.state));
 }
 
 static bool