From 1b04023591466ce41eecedf5417586d5162b29d2 Mon Sep 17 00:00:00 2001 From: lkn Date: Sun, 7 Jun 2026 14:50:58 +0200 Subject: [PATCH] Revert "wl_unmap: force commit sibling toplevels to clear stale popup pixels" This reverts commit a9397b82916b535472e8c20580ee3dcaca32ff91. --- WINGs/wview_wl.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/WINGs/wview_wl.c b/WINGs/wview_wl.c index 1d65b2f..5bd87ac 100644 --- a/WINGs/wview_wl.c +++ b/WINGs/wview_wl.c @@ -211,25 +211,8 @@ static void wl_unmap(void *vctx, W_View *view) /* Disable the scene buffer so the view disappears from screen. */ if (W_ViewSceneNodeSetEnabledFn) W_ViewSceneNodeSetEnabledFn((unsigned long)view->window, 0); - if (view->parent && view->parent->flags.mapped) { + if (view->parent && view->parent->flags.mapped) wl_redisplay(vctx, view->parent); - /* Force commit of the parent backing so stale pixels from - * previous composites (via wl_redisplay line 530) are cleared. - * If the parent itself cannot be committed (e.g. rootView), - * commit all topLevel children that have a client backing. */ - extern void (*W_ViewCommitBackingFn)(unsigned long id); - if (W_ViewCommitBackingFn) { - W_View *parent = view->parent; - W_View *child = parent->childrenList; - while (child) { - if (child->flags.topLevel && child->flags.realized - && child != view) - W_ViewCommitBackingFn( - (unsigned long)child->window); - child = child->nextSister; - } - } - } } static void wl_unmap_subviews(void *vctx, W_View *view)