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>
This commit is contained in:
Chris Michael 2016-12-05 09:27:11 -05:00
parent 4c7ff57cb2
commit 6dca94d8bf
1 changed files with 0 additions and 2 deletions

View File

@ -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);