From 94b45b342eda8e490db5c0ae3df3b63a2989711f Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Wed, 13 May 2026 21:35:18 +0200 Subject: [PATCH] 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. --- WINGs/wview_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WINGs/wview_wl.c b/WINGs/wview_wl.c index 0a50178..0b0b36e 100644 --- a/WINGs/wview_wl.c +++ b/WINGs/wview_wl.c @@ -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); } }