summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-05 09:27:11 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-05 09:27:11 -0500
commit6dca94d8bf85947d142ecf8da1c8d82f18fd8d3f (patch)
treee39f18ca95439205802a6e6d651be3270ca2c241
parent4c7ff57cb2de24c05b32db3c9aaa2fe0a7e0059d (diff)
downloadefl-6dca94d8bf85947d142ecf8da1c8d82f18fd8d3f.tar.gz
ecore-wl2: No need to call hide inside the free function
When we are freeing an Ecore_Wl2_Window, there is no need to call ecore_wl2_window_hide anymore because inside the free function we are destroying subsurfaces, surfaces, etc, etc so no need to even unmap them. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 37dd487016..0ddf3d97c1 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -492,8 +492,6 @@ ecore_wl2_window_free(Ecore_Wl2_Window *window)
www_surface_destroy(window->www_surface);
window->www_surface = NULL;
- ecore_wl2_window_hide(window);
-
if (window->uuid && window->surface && window->display->wl.session_recovery)
zwp_e_session_recovery_destroy_uuid(window->display->wl.session_recovery,
window->surface, window->uuid);