devilhorns pushed a commit to branch master.

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

commit fbfe60751d63ce63e499c169186b387a1b91bcf9
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Oct 8 14:13:05 2015 -0400

    ecore-wl2: Set WAYLAND_DISPLAY env variable when we create a display
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c 
b/src/lib/ecore_wl2/ecore_wl2_display.c
index bf4aed1..7c610f5 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -368,6 +368,8 @@ ecore_wl2_display_create(const char *name)
           }
      }
 
+   setenv("WAYLAND_DISPLAY", ewd->name, 1);
+
    loop = wl_display_get_event_loop(ewd->wl.display);
 
    ewd->fd_hdl =

-- 


Reply via email to