From 7c29490cee26ebbeef5e82c894040d704cd7a1c8 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 9 Jun 2023 01:26:32 -0700 Subject: [PATCH] Fix mixed colors if a tab is both urgent and focused --- src/TabGroup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp index 729d156..17d7b21 100644 --- a/src/TabGroup.cpp +++ b/src/TabGroup.cpp @@ -95,6 +95,7 @@ void Hy3TabBarEntry::setFocused(bool focused) { } void Hy3TabBarEntry::setUrgent(bool urgent) { + if (urgent && this->focused.goalf() == 1.0) urgent = false; if (this->urgent.goalf() != urgent) { this->urgent = urgent; }