mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-04-05 11:20:42 +02:00
touchpad: only log edge scroll state changes when the state actually changes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
282979558e
commit
f140826c86
1 changed files with 7 additions and 6 deletions
|
|
@ -260,12 +260,13 @@ tp_edge_scroll_handle_event(struct tp_dispatch *tp,
|
|||
break;
|
||||
}
|
||||
|
||||
evdev_log_debug(tp->device,
|
||||
"edge-scroll: touch %d state %s → %s → %s\n",
|
||||
t->index,
|
||||
edge_state_to_str(current),
|
||||
edge_event_to_str(event),
|
||||
edge_state_to_str(t->scroll.edge_state));
|
||||
if (current != t->scroll.edge_state)
|
||||
evdev_log_debug(tp->device,
|
||||
"edge-scroll: touch %d state %s → %s → %s\n",
|
||||
t->index,
|
||||
edge_state_to_str(current),
|
||||
edge_event_to_str(event),
|
||||
edge_state_to_str(t->scroll.edge_state));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue