summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-03-01 14:39:32 -0600
committerDerek Foreman <derekf@osg.samsung.com>2017-03-01 14:47:21 -0600
commitb7f1c66d3affefe2822c154fb4746e5948b2b9b7 (patch)
tree5ee3eaecbeb9ae33e008cd7697738cc23a631183
parent16a1f8f188021227a590fb4cef0489849e2ff257 (diff)
downloadefl-b7f1c66d3affefe2822c154fb4746e5948b2b9b7.tar.gz
ecore-evas-wayland: Fix yet another wayland session recovery break
commit 81783ec75caf4e4314abd8baf362718379b86570 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
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index c625f5cdc9..923d1e88e8 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -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)