derekf pushed a commit to branch master.

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

commit 16a1f8f188021227a590fb4cef0489849e2ff257
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Wed Mar 1 13:49:02 2017 -0600

    ecore_wl2: Fix a wayland session recovery breaker... again
    
    We need to bind a shell on reconnect, but dfb2af697 made sure
    we only bind a single shell per wayland display for the life of
    the display object - which lives longer than the connection.
    
    That means when session recovery tries to reconnect it never bothers
    to bind a shell, so the client can never post buffers.
    
    ref https://phab.enlightenment.org/T5226
    ref https://phab.enlightenment.org/T5005
    
    @fix
---
 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 689e1e8..f054e46 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -279,6 +279,8 @@ _recovery_timer_add(Ecore_Wl2_Display *ewd)
    ecore_main_fd_handler_del(ewd->fd_hdl);
    ewd->fd_hdl = NULL;
 
+   ewd->shell_done = EINA_FALSE;
+
    if (ewd->wl.session_recovery)
      zwp_e_session_recovery_destroy(ewd->wl.session_recovery);
    if (ewd->wl.www) www_destroy(ewd->wl.www);

-- 


Reply via email to