summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-12-07 23:31:13 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2015-12-16 22:18:08 +0100
commit598f46f25ec94db2821a14baa50cbd4d938fa6ac (patch)
tree47c171111fa9a54d84e1f7ee907399c47ac47dfe /src/lib/ecore_wayland
parent56cc11c3b142400685de2ee6ce81bc7bb96511da (diff)
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
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 511aceaeb2..9dc8c9b7b0 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
675 _ecore_wl_output_add(ewd, id); 675 _ecore_wl_output_add(ewd, id);
676 else if (!strcmp(interface, "wl_seat")) 676 else if (!strcmp(interface, "wl_seat"))
677 _ecore_wl_input_add(ewd, id); 677 _ecore_wl_input_add(ewd, id);
678 else if (!strcmp(interface, "session_recovery")) 678 else if (!strcmp(interface, "session_recovery") && getenv("EFL_WAYLAND_SESSION_RECOVERY"))
679 { 679 {
680 ewd->wl.session_recovery = 680 ewd->wl.session_recovery =
681 wl_registry_bind(registry, id, &session_recovery_interface, 1); 681 wl_registry_bind(registry, id, &session_recovery_interface, 1);