commit 361fa39bda024dbe53c1893006f74c17e089c8e7 parent 85a3c8393353414de096357e1482e91e102278ec Author: shrub <maybeshrub@gmail.com> Date: Wed, 2 Sep 2026 14:33:33 +0000 damage decor Diffstat:
| M | libswc/compositor.c | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/libswc/compositor.c b/libswc/compositor.c @@ -1635,6 +1635,12 @@ void compositor_view_set_decor(struct compositor_view *view, const struct swc_decor *decor) { + /* decor_view_set() could shrink or remove the decoration, so wedamage the old + * extents before they are replaced */ + if (view->visible) { + damage_below_view(view); + } + decor_view_set(view, decor); update_extents(view); update(&view->base);