derekf pushed a commit to branch master.

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

commit d0b8c41f920038f41446f06c3d08dc9c57adf35c
Author: Derek Foreman <[email protected]>
Date:   Thu Aug 31 11:11:59 2017 -0500

    ecore_wl2: Fix session recovery
    
    I broke this in commit 1bb45f6e6194fa046d3d1409e1aacecc14dc4b4f
    
    We intentionally *don't* flush in window_semi_free, as this could be
    when there's no compositor left to flush to (in the case of session
    recovery).
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 30c29d759d..f916ccf7f6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -24,7 +24,6 @@ _ecore_wl2_window_semi_free(Ecore_Wl2_Window *window)
    if (window->surface) wl_surface_destroy(window->surface);
    window->surface = NULL;
    window->surface_id = -1;
-   ecore_wl2_display_flush(window->display);
 }
 
 

-- 


Reply via email to