diff --git a/src/wayland-client.c b/src/wayland-client.c index 2eaecc9d..9ac4edb6 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -860,6 +860,13 @@ wl_display_dispatch_pending(struct wl_display *display) return dispatch_queue(display, &display->queue, 0); } +/** Retrieve the last error sent by the server + * + * \param display The display context object + * \return The last error sent asynchronously by \c display + * + * \memberof wl_display + */ WL_EXPORT int wl_display_get_error(struct wl_display *display) {