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:
parent
71c4bfdfbc
commit
da4f662844
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue