mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-15 20:50:32 +01:00
libeis: only log client state transitions if they changed
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
247b6d0dcb
commit
27670000e4
1 changed files with 5 additions and 3 deletions
|
|
@ -445,9 +445,11 @@ error:
|
|||
if (rc)
|
||||
log_warn(eis_client_parent(client), "Client error: %s\n",
|
||||
strerror(-rc));
|
||||
log_debug(eis_client_parent(client), "Client dispatch: %s -> %s\n",
|
||||
client_states[old_state],
|
||||
client_states[client->state]);
|
||||
if (old_state != client->state) {
|
||||
log_debug(eis_client_parent(client), "Client dispatch: %s -> %s\n",
|
||||
client_states[old_state],
|
||||
client_states[client->state]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue