From 3c922105c3e44dc39652d1b5ae0ea4581939b44c Mon Sep 17 00:00:00 2001 From: rewine Date: Mon, 13 Apr 2026 10:48:17 +0800 Subject: [PATCH] xdg-shell: fix unmap reset assert --- types/xdg_shell/wlr_xdg_surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/xdg_shell/wlr_xdg_surface.c b/types/xdg_shell/wlr_xdg_surface.c index 8a252d2f8..c7028d319 100644 --- a/types/xdg_shell/wlr_xdg_surface.c +++ b/types/xdg_shell/wlr_xdg_surface.c @@ -320,7 +320,7 @@ static void xdg_surface_role_commit(struct wlr_surface *wlr_surface) { reset_xdg_surface_role_object(surface); reset_xdg_surface(surface); - assert(!surface->initial_commit); + assert(!surface->initialized); surface->initial_commit = false; } else { surface->initial_commit = !surface->initialized;