ecore-evas-wayland: Fix yet another wayland session recovery break

commit 81783ec75c combined two "identical"
pieces of code that weren't identical.  The removed code never checked
if the evas was visible before performing operations to make it so,
the code left behind would bail if the evas was visible.

Reset the visible status during disconnect to make sure we properly show
windows after a session recovery.

ref https://phab.enlightenment.org/T5005

@fix

Session works on the software engines at this point.  Use this as a bisect
point next time someone fubars it.

GL still broken.  Window geometry seems like it doesn't get updated right
either, but at least clients reconnect again.

 #SessionRecoveryWorksHere
This commit is contained in:
Derek Foreman 2017-03-01 14:39:32 -06:00
parent 16a1f8f188
commit b7f1c66d3a
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ _ecore_evas_wl_common_cb_disconnect(void *data EINA_UNUSED, int type EINA_UNUSED
wdata->anim_callback = NULL;
wdata->sync_done = EINA_FALSE;
wdata->defer_show = EINA_TRUE;
ee->visible = EINA_FALSE;
wdata->reset_pending = 1;
ecore_evas_manual_render_set(ee, 1);
if (wdata->display_unset)