ccb127fb973598ed8e35f2c90cdcf11e30c08a2f

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

fix tab bar not being damaged after title updates

Diff

 1diff --git a/CHANGELOG.md b/CHANGELOG.md
 2index bc27b63ec55f36fb4e37d3c7a861ea438592f8d7..8c32fd20ab3dfb68dfe2c704a86b43021cd55970 100644
 3--- a/CHANGELOG.md
 4+++ b/CHANGELOG.md
 5@@ -1,5 +1,9 @@
 6 # Changelog
 7 
 8+# Upcoming
 9+
10+- Fixed tab bar not being damaged (glitching) on window title change.
11+
12 # hl0.52.0 and before
13 
14 - Added `active_alt_monitor` tab bar color options.
15diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
16index b40a85bfd3cff6b008953b16c34ca0da012196b3..d0042f5ddd9e39dc13a33f801634af6c34cfecef 100644
17--- a/src/TabGroup.cpp
18+++ b/src/TabGroup.cpp
19@@ -637,6 +637,8 @@ void Hy3TabGroup::updateWithGroup(Hy3Node& node, bool warp) {
20 	if (node.data.as_group().focused_child != nullptr) {
21 		this->updateStencilWindows(*node.data.as_group().focused_child);
22 	}
23+
24+	if (this->bar.dirty) this->tick();
25 }
26 
27 void damageBox(const Vector2D* position, const Vector2D* size) {