aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-01 19:45:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-01 19:45:57 +0000
commit8b4ef78f7a9692c14e20a32dcf0c250f7812828a (patch)
tree329f5326355f40e6dd15cf470d52a3cf8c5253ee
parentfont: cache loaded fonts globally (diff)
wayland: wayl_win_destroy(): looks like we need another roundtrip
-rw-r--r--wayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index 97917e77..3d19c4de 100644
--- a/wayland.c
+++ b/wayland.c
@@ -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);
}