EAPI Eina_Bool
e_comp_wl_init(void)
{
+ if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
+ e_comp->root = ecore_evas_window_get(e_comp->ee);
/* set gl available if we have ecore_evas support */
if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_WAYLAND_EGL) ||
ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_OPENGL_DRM))
e_xinerama_screens_set(eina_list_append(NULL, screen));
}
- comp->root = ecore_evas_window_get(comp->ee);
if (!e_comp_canvas_init(w, h)) return NULL;
e_comp_canvas_fake_layers_init();
screen->h = h;
e_xinerama_screens_set(eina_list_append(NULL, screen));
}
- comp->root = ecore_evas_window_get(comp->ee);
e_comp_canvas_init(w, h);
e_comp_wl_init();
e_comp_canvas_fake_layers_init();
e_xinerama_screens_set(eina_list_append(NULL, screen));
}
- comp->root = ecore_evas_window_get(comp->ee);
if (!e_comp_canvas_init(w, h)) return NULL;
e_comp_canvas_fake_layers_init();