diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 30b631e66..81cdb328e 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -7,6 +7,12 @@ if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return /* local functions */ +static void +_e_comp_wl_log_cb_print(const char *format, va_list args) +{ + INF("WL: ", format, args); +} + static void _e_comp_wl_cb_del(E_Comp *comp) { @@ -35,6 +41,9 @@ _e_comp_wl_compositor_create(void) /* create new compositor data */ cdata = E_NEW(E_Comp_Data, 1); + /* set wayland log handler */ + wl_log_set_handler_server(_e_comp_wl_log_cb_print); + return EINA_TRUE; }