mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-04 17:50:15 +01:00
gestures: change the debug log messages for state debugging
Prefix the result of handle_event with "event" and the handle_state with "state" Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1106>
This commit is contained in:
parent
3563b6780f
commit
0288781383
1 changed files with 2 additions and 2 deletions
|
|
@ -960,7 +960,7 @@ tp_gesture_handle_event(struct tp_dispatch *tp,
|
|||
|
||||
if (oldstate != tp->gesture.state) {
|
||||
evdev_log_debug(tp->device,
|
||||
"gesture: [%dfg] state %s → %s → %s\n",
|
||||
"gesture: [%dfg] event %s → %s → %s\n",
|
||||
tp->gesture.finger_count,
|
||||
gesture_state_to_str(oldstate),
|
||||
gesture_event_to_str(event),
|
||||
|
|
@ -1528,7 +1528,7 @@ tp_gesture_handle_state(struct tp_dispatch *tp, uint64_t time,
|
|||
remaining -= n;
|
||||
}
|
||||
evdev_log_debug(tp->device,
|
||||
"gesture: [%dfg] transitions %s%s → %s\n",
|
||||
"gesture: [%dfg] state %s%s → %s\n",
|
||||
tp->gesture.finger_count,
|
||||
gesture_state_to_str(oldstate),
|
||||
buf,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue