summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-28 10:59:01 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-28 10:59:01 -0500
commite6efe4522718701cb2622c2402e7a7131e9ebc32 (patch)
tree343c0c887888142ae661978f90c2b7dcac5c21c7
parent37eb433a417a318838a00b84da51251c25401893 (diff)
revise internal window session recovery blocking to compile with older efl
this is an important fix which should be active where available ref 9673df56eec824349964fe9c338c51668272c8c7
-rw-r--r--src/bin/e_comp_wl.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 304fcb3f8..08c0321db 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2819,8 +2819,14 @@ e_comp_wl_init(void)
2819 return EINA_FALSE; 2819 return EINA_FALSE;
2820 } 2820 }
2821 2821
2822 /* Block session recovery for internal windows */ 2822 if (E_EFL_VERSION_MINIMUM(1, 18, 99))
2823 ecore_wl2_session_recovery_disable(); 2823 {
2824 E_Comp_Cb wl2_session_recovery_disable;
2825
2826 wl2_session_recovery_disable = dlsym(NULL, "ecore_wl2_session_recovery_disable");
2827 /* Block session recovery for internal windows */
2828 if (wl2_session_recovery_disable) wl2_session_recovery_disable();
2829 }
2824 2830
2825 /* set gl available if we have ecore_evas support */ 2831 /* set gl available if we have ecore_evas support */
2826 if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_WAYLAND_EGL) || 2832 if (ecore_evas_engine_type_supported_get(ECORE_EVAS_ENGINE_WAYLAND_EGL) ||