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.
This commit is contained in:
Levi Neely 2026-05-13 22:57:47 +02:00
parent 71c4bfdfbc
commit da4f662844
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}