summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:17:55 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:17:54 -0400
commit337f3796d65f643b1b536e6e9b95df420669da70 (patch)
treee50e75239500dc9adc3456e1c089335d0b90bdf8
parent89e0d387dd9c22a0f70b0d3a7e436d1e81260f53 (diff)
downloadefl-337f3796d65f643b1b536e6e9b95df420669da70.tar.gz
ecore-evas-wayland: destroy frame callback on hide
ensure cursor surfaces can render again after being hidden #TheDisappointer @fix
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c3
1 files changed, 3 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 eb36e9644e..2909ce1312 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
@@ -1959,6 +1959,9 @@ _ecore_evas_wl_common_hide(Ecore_Evas *ee)
ee->visible = 0;
ee->should_be_visible = 0;
ee->draw_ok = EINA_FALSE;
+ if (wdata->anim_callback) wl_callback_destroy(wdata->anim_callback);
+ wdata->anim_callback = NULL;
+ ecore_evas_manual_render_set(ee, 0);
if (ee->func.fn_hide) ee->func.fn_hide(ee);
}