discomfitor pushed a commit to branch master.

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

commit db414794143d681655b31914d72ef33bb7d67055
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jul 28 12:32:50 2015 -0400

    fix x11 detection for wayland compositor setup
    
    ref T2609
---
 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 0dc651b..9063611 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2500,7 +2500,7 @@ _e_comp_wl_compositor_create(void)
      }
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (getenv("DISPLAY"))
+   if (e_comp_util_has_x())
      {
         E_Config_XKB_Layout *ekbd;
         Ecore_X_Atom xkb = 0;

-- 


Reply via email to