forked from enlightenment/efl
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
This commit is contained in:
parent
cb39bd158e
commit
16a1f8f188
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue