commit 361fa39

shrub  ·  2026-09-02 14:33:33 +0000 UTC
parent 85a3c83
damage decor
1 files changed,  +6, -0
+6, -0
 1@@ -1635,6 +1635,12 @@ void
 2 compositor_view_set_decor(struct compositor_view *view,
 3                             const struct swc_decor *decor)
 4 {
 5+	/* decor_view_set() could shrink or remove the decoration, so wedamage the old
 6+	 * extents before they are replaced */
 7+	if (view->visible) {
 8+		damage_below_view(view);
 9+	}
10+
11 	decor_view_set(view, decor);
12 	update_extents(view);
13 	update(&view->base);