discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3178064d30e6bfee79501da57dd4d76c3aac1163

commit 3178064d30e6bfee79501da57dd4d76c3aac1163
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri May 6 13:42:20 2016 -0400

    ensure xwayland module init does not fail due to early startup
    
    comp_type may not be set at the time of init
---
 src/modules/xwayland/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/xwayland/e_mod_main.c 
b/src/modules/xwayland/e_mod_main.c
index 49c9ec1..3e5c895 100644
--- a/src/modules/xwayland/e_mod_main.c
+++ b/src/modules/xwayland/e_mod_main.c
@@ -349,7 +349,7 @@ xwl_init(E_Module *m)
    char disp[8];
 
    /* make sure it's a wayland compositor */
-   if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return NULL;
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X) return NULL;
 
    if (getenv("DISPLAY"))
      {

-- 


Reply via email to