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:
Levi Neely 2026-05-13 21:35:18 +02:00
parent bf9a0a9cf5
commit 94b45b342e
1 changed files with 1 additions and 1 deletions

View File

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