From da4f662844c4e807919ab2acfc149787276578a5 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Wed, 13 May 2026 22:57:47 +0200 Subject: [PATCH] Fix modal loop re-composite: use vb->map for correct paint order Was calling redisplay then map_subviews separately, with background overwriting children. Now calls vb->map which does background first, then children composite on top, with final commit showing everything. --- WINGs/widgets.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/WINGs/widgets.c b/WINGs/widgets.c index ee39849..83a2ec9 100644 --- a/WINGs/widgets.c +++ b/WINGs/widgets.c @@ -1065,8 +1065,7 @@ void WMRunModalLoop(WMScreen * scr, WMView * view) W_View *top = view; while (top->parent && !top->flags.topLevel) top = top->parent; - vb->redisplay(scr->viewBackendCtx, top); - vb->map_subviews(scr->viewBackendCtx, top); + vb->map(scr->viewBackendCtx, top); } }