From f72e3fae4a56f1e15e667cf4efc2271b8f12e31b Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Sat, 3 Jan 2026 15:16:13 +0100 Subject: [PATCH] server: document protocol logger callback function This fixes a validation error in the documentation which are not fatal. The idea is the same as in 12ec67a ("server: document listener fields and a vfunc"), which seems to have missed the reference to the wl_protocol_logger_func_t from the note in wl_log_func_t. Signed-off-by: Sebastian Wick --- src/wayland-server-core.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h index 8b69d0d5..c8a64772 100644 --- a/src/wayland-server-core.h +++ b/src/wayland-server-core.h @@ -713,6 +713,7 @@ struct wl_protocol_logger_message { const union wl_argument *arguments; }; +/** Callback function type for wl_display_add_protocol_logger() */ typedef void (*wl_protocol_logger_func_t)(void *user_data, enum wl_protocol_logger_type direction, const struct wl_protocol_logger_message *message);