forked from enlightenment/efl
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:
parent
4c7ff57cb2
commit
6dca94d8bf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue