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
This commit is contained in:
Derek Foreman 2018-06-15 13:18:56 -05:00
parent 54a877981c
commit e4641649e2
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ _ecore_wl2_window_semi_free(Ecore_Wl2_Window *window)
window->outputs = eina_list_free(window->outputs);
ecore_wl2_window_surface_flush(window, EINA_TRUE);
window->commit_pending = EINA_FALSE;
}