stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=54695313dd081cc82da87b248f382f10b94f8213
commit 54695313dd081cc82da87b248f382f10b94f8213 Author: Stefan Schmidt <[email protected]> Date: Tue Aug 25 14:31:09 2015 +0200 ecore_wayland: bind and destroy session_recovery interface correctly. This was missing from the initial session recovery support patches. Bind the interface so we can actually work with it on the client side and destroy it at the end. @fix --- src/lib/ecore_wayland/ecore_wl.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c index fff8dd6..13758c6 100644 --- a/src/lib/ecore_wayland/ecore_wl.c +++ b/src/lib/ecore_wayland/ecore_wl.c @@ -506,6 +506,8 @@ _ecore_wl_shutdown(Eina_Bool close) _ecore_wl_xkb_shutdown(_ecore_wl_disp); + if (_ecore_wl_disp->wl.session_recovery) + session_recovery_destroy(_ecore_wl_disp->wl.session_recovery); #ifdef USE_IVI_SHELL if (_ecore_wl_disp->wl.ivi_application) ivi_application_destroy(_ecore_wl_disp->wl.ivi_application); @@ -654,6 +656,11 @@ _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")) + { + ewd->wl.session_recovery = + wl_registry_bind(registry, id, &session_recovery_interface, 1); + } #ifdef USE_IVI_SHELL else if (!strcmp(interface, "ivi_application")) { --
