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> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1620>
This commit is contained in:
parent
bfabd3bdab
commit
1a42fe40d0
|
@ -859,7 +859,7 @@ xwl_handle_ei_event(int fd, int ready, void *data)
|
||||||
/* Don't care */
|
/* Don't care */
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error_ei("Unhandled event %d\n", type);
|
error_ei("Unhandled event %s (%d)\n", ei_event_type_to_string(type), type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ei_event_unref(e);
|
ei_event_unref(e);
|
||||||
|
|
Loading…
Reference in New Issue