From 18c34ed1519e23f623f36e2536d64ceb1d323612 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 22 Apr 2015 18:19:52 -0400 Subject: [PATCH] change comp type check at start of e_comp_wl_init() at present, this value will be set to either TYPE_NONE if no valid compositor has been created or TYPE_X if running a wl compositor inside an x11 compositor --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index d49ae37..0d19ac2 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -2475,7 +2475,7 @@ disp_err: EAPI Eina_Bool e_comp_wl_init(void) { - if (e_comp->comp_type == E_PIXMAP_TYPE_WL) + 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) || -- 2.7.4