summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-31 11:11:59 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-31 11:17:34 -0500
commitd0b8c41f920038f41446f06c3d08dc9c57adf35c (patch)
tree812184e6a3ced4262207770a3b54e89594969cac /src/lib/ecore_wl2
parent7aa42c4e754d7e13029507d8f178e8e2b1f8d31c (diff)
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).
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c1
1 files changed, 0 insertions, 1 deletions
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)
24 if (window->surface) wl_surface_destroy(window->surface); 24 if (window->surface) wl_surface_destroy(window->surface);
25 window->surface = NULL; 25 window->surface = NULL;
26 window->surface_id = -1; 26 window->surface_id = -1;
27 ecore_wl2_display_flush(window->display);
28} 27}
29 28
30 29