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:
Mike Blumenkrantz 2015-04-24 14:57:05 -04:00
parent d0f48e6441
commit fd558491fd
1 changed files with 0 additions and 2 deletions

View File

@ -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))