diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-06-15 13:18:56 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-06-15 13:18:56 -0500 |
commit | e4641649e25d271176d17725f2e9477d35c23786 (patch) | |
tree | 96f69ede4248662c26843cc0f9bc2fabed5ac9f8 /src | |
parent | 54a877981c1b46e9482ed7eaf7af7024dd33c9d9 (diff) |
ecore_wl2: purge surface buffers in semi_free
Summary:
This fixes a session recovery bug with software render.
An attempt to re-use a buffer in a new wayland connection resulted
in another disconnect and broken rendering.
Depends on D6281
Reviewers: devilhorns, zmike
Reviewed By: zmike
Subscribers: cedric, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6282
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c index cc75d6ce87..0b48fea5be 100644 --- a/src/lib/ecore_wl2/ecore_wl2_window.c +++ b/src/lib/ecore_wl2/ecore_wl2_window.c | |||
@@ -41,6 +41,8 @@ _ecore_wl2_window_semi_free(Ecore_Wl2_Window *window) | |||
41 | 41 | ||
42 | window->outputs = eina_list_free(window->outputs); | 42 | window->outputs = eina_list_free(window->outputs); |
43 | 43 | ||
44 | ecore_wl2_window_surface_flush(window, EINA_TRUE); | ||
45 | |||
44 | window->commit_pending = EINA_FALSE; | 46 | window->commit_pending = EINA_FALSE; |
45 | } | 47 | } |
46 | 48 | ||