forked from enlightenment/enlightenment
don't set e_comp->root for wl compositors
root is the root window. wl compositors do not have root windows.
This commit is contained in:
parent
d0f48e6441
commit
fd558491fd
|
@ -2471,8 +2471,6 @@ disp_err:
|
|||
EAPI Eina_Bool
|
||||
e_comp_wl_init(void)
|
||||
{
|
||||
if (e_comp->comp_type != E_PIXMAP_TYPE_X)
|
||||
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))
|
||||
|
|
Loading…
Reference in New Issue