wl_client_view_unmap: reset configured flag so remap waits for configure

This commit is contained in:
lkn 2026-06-07 15:52:40 +02:00
parent d923d9fb83
commit 931094cce8
1 changed files with 1 additions and 0 deletions

View File

@ -570,6 +570,7 @@ wl_client_view_unmap(WNativeWindow id)
* The xdg_toplevel object stays alive for remap. */
wl_surface_attach(top->surface, NULL, 0, 0);
wl_surface_commit(top->surface);
top->configured = 0;
if (top->ctx && top->ctx->display)
wl_display_flush(top->ctx->display);
}