Fix dialog: paint background before children, not after
wl_map was calling wl_map_subviews (children) then wl_redisplay (bg fill), overwriting children with the background. Reversed order so background is filled first, then children composite on top.
This commit is contained in:
parent
bf9a0a9cf5
commit
94b45b342e
|
|
@ -142,8 +142,8 @@ static void wl_map(void *vctx, W_View *view)
|
|||
view->flags.mapped = 1;
|
||||
/* Only trigger redisplay for top-level views (dialogs) */
|
||||
if (view->flags.topLevel && view->flags.realized) {
|
||||
wl_map_subviews(vctx, view);
|
||||
wl_redisplay(vctx, view);
|
||||
wl_map_subviews(vctx, view);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue