It was passing va_list to eina_log, and eina_log treated it as normal argument.
And finally, the E could be crashed in _e_log_cb function.
Change-Id: I349637a1255a6c526718a51ba2857fc68ea84651
e_grabinput_focus(e_comp->ee_win, E_FOCUS_METHOD_PASSIVE);
}
-static void
-_e_comp_wl_log_cb_print(const char *format, va_list args)
-{
- EINA_LOG_DOM_INFO(e_log_dom, format, args);
-}
-
static Eina_Bool
_e_comp_wl_cb_read(void *data EINA_UNUSED, Ecore_Fd_Handler *hdlr EINA_UNUSED)
{
/* set compositor wayland data */
e_comp_wl = e_comp->wl_comp_data = cdata;
- /* set wayland log handler */
- wl_log_set_handler_server(_e_comp_wl_log_cb_print);
-
/* try to create a wayland display */
if (!(cdata->wl.disp = wl_display_create()))
{