mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-14 17:10:16 +01:00
Print the event type name for invalid events
This commit is contained in:
parent
917b79f83e
commit
e411b85a33
2 changed files with 4 additions and 2 deletions
|
|
@ -154,7 +154,8 @@ check_event_type(struct ei_event *event,
|
|||
|
||||
if (!rc)
|
||||
log_bug_client(ei_event_get_context(event),
|
||||
"Invalid event type %u passed to %s()",
|
||||
"Invalid event type (%s) %u passed to %s()",
|
||||
ei_event_type_to_string(type),
|
||||
type, function_name);
|
||||
|
||||
return rc;
|
||||
|
|
|
|||
|
|
@ -157,7 +157,8 @@ check_event_type(struct eis_event *event,
|
|||
|
||||
if (!rc)
|
||||
log_bug_client(eis_event_get_context(event),
|
||||
"Invalid event type %u passed to %s()",
|
||||
"Invalid event type %s (%u) passed to %s()",
|
||||
eis_event_type_to_string(type),
|
||||
type, function_name);
|
||||
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue