wayland: wayl_win_destroy(): looks like we need another roundtrip

This commit is contained in:
Daniel Eklöf 2019-11-01 20:45:57 +01:00
parent 43462b24f3
commit 8b4ef78f7a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -719,6 +719,8 @@ wayl_win_destroy(struct wl_window *win)
if (win->surface != NULL)
wl_surface_destroy(win->surface);
wl_display_roundtrip(win->wayl->display);
free(win);
}