mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
wayland: wayl_win_destroy(): looks like we need another roundtrip
This commit is contained in:
parent
43462b24f3
commit
8b4ef78f7a
1 changed files with 2 additions and 0 deletions
|
|
@ -719,6 +719,8 @@ wayl_win_destroy(struct wl_window *win)
|
||||||
if (win->surface != NULL)
|
if (win->surface != NULL)
|
||||||
wl_surface_destroy(win->surface);
|
wl_surface_destroy(win->surface);
|
||||||
|
|
||||||
|
wl_display_roundtrip(win->wayl->display);
|
||||||
|
|
||||||
free(win);
|
free(win);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue