Diff
1diff --git a/CHANGELOG.md b/CHANGELOG.md
2index 7fccd078a2224344106e6c9d7faab5ef8ff23734..27678e2d1dd1313f348da23796b37847f889a210 100644
3--- a/CHANGELOG.md
4+++ b/CHANGELOG.md
5@@ -9,6 +9,7 @@
6 - Fixed tab bars being clickable while covered by layers or with active pointer grabs.
7 - Fixed bugs when moving nodes across workspaces.
8 - Added warp option to `hy3:movetoworkspace`.
9+- Fixed broken tab damage tracking (artifacts when tabs animate).
10
11 # hl0.46.0 and before
12
13diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
14index da6438b911b728352d79938cc3ec6dc69ee9148e..f42b4e01f78988a56fb03290cec3004e33b1bde1 100644
15--- a/src/TabGroup.cpp
16+++ b/src/TabGroup.cpp
17@@ -552,6 +552,8 @@ void Hy3TabGroup::updateWithGroup(Hy3Node& node, bool warp) {
18
19 void damageBox(const Vector2D* position, const Vector2D* size) {
20 auto box = CBox {position->x, position->y, size->x, size->y};
21+ // Either a rounding error or an issue below makes this necessary.
22+ box.expand(1);
23 g_pHyprRenderer->damageBox(&box);
24 }
25