mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 00:40:05 +01:00
xwayland/ei: Log the type name of unhandled events
Currently, we would log only the event type, use the libei API to also
log the name in plain text, so we can quickly identify the events we're
missing out.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
(cherry picked from commit 1a42fe40d0)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1635>
This commit is contained in:
parent
ce7fb8139a
commit
fac3486a66
1 changed files with 1 additions and 1 deletions
|
|
@ -857,7 +857,7 @@ xwl_handle_ei_event(int fd, int ready, void *data)
|
|||
/* Don't care */
|
||||
break;
|
||||
default:
|
||||
error_ei("Unhandled event %d\n", type);
|
||||
error_ei("Unhandled event %s (%d)\n", ei_event_type_to_string(type), type);
|
||||
break;
|
||||
}
|
||||
ei_event_unref(e);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue