diff --git a/WINGs/wclient_wl.c b/WINGs/wclient_wl.c index 5bdaec8..361a398 100644 --- a/WINGs/wclient_wl.c +++ b/WINGs/wclient_wl.c @@ -403,6 +403,8 @@ wl_client_toplevel_commit_locked(WLClientToplevel *top) wl_surface_damage_buffer(top->surface, 0, 0, top->buf->width, top->buf->height); wl_surface_commit(top->surface); + if (top->ctx && top->ctx->display) + wl_display_flush(top->ctx->display); top->buf->busy = 1; top->mapped = 1; }