stefan pushed a commit to branch master.

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

commit 598f46f25ec94db2821a14baa50cbd4d938fa6ac
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Mon Dec 7 23:31:13 2015 +0100

    ecore_wayland: only bind session recovery interface when env var is set
    
    To avoid trouble for other wayland testing we hide the session recovery work
    behind EFL_WAYLAND_SESSION_RECOVERY. Without this env var being set we do 
not
    bind the global.
    
    ref T2922
---
 src/lib/ecore_wayland/ecore_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 511acea..9dc8c9b 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -675,7 +675,7 @@ _ecore_wl_cb_handle_global(void *data, struct wl_registry 
*registry, unsigned in
      _ecore_wl_output_add(ewd, id);
    else if (!strcmp(interface, "wl_seat"))
      _ecore_wl_input_add(ewd, id);
-   else if (!strcmp(interface, "session_recovery"))
+   else if (!strcmp(interface, "session_recovery") && 
getenv("EFL_WAYLAND_SESSION_RECOVERY"))
      {
         ewd->wl.session_recovery =
           wl_registry_bind(registry, id, &session_recovery_interface, 1);

-- 


Reply via email to