discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=18c34ed1519e23f623f36e2536d64ceb1d323612

commit 18c34ed1519e23f623f36e2536d64ceb1d323612
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Apr 22 18:19:52 2015 -0400

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

-- 


Reply via email to