Merge branch 'main' into 'main'

log: expose wl_debug_handler for custom print debug message

See merge request wayland/wayland!466
This commit is contained in:
groveer 2026-04-16 16:05:38 +00:00
commit 28b31d2c29
8 changed files with 33 additions and 1 deletions

View file

@ -2843,6 +2843,12 @@ wl_proxy_wrapper_destroy(void *proxy_wrapper)
free(wrapper);
}
WL_EXPORT void
wl_debug_set_handler_client(wl_debug_func_t handler)
{
wl_debug_handler = handler;
}
WL_EXPORT void
wl_log_set_handler_client(wl_log_func_t handler)
{