devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6dca94d8bf85947d142ecf8da1c8d82f18fd8d3f

commit 6dca94d8bf85947d142ecf8da1c8d82f18fd8d3f
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Dec 5 09:27:11 2016 -0500

    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.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 37dd487..0ddf3d9 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);

-- 


Reply via email to