783c1b623d71259dceedef881dc8dc6adb3548e7

Author
Vaso Putica <vaso@putica.com>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

fix config name for col_border_locked

Diff

 1diff --git a/CHANGELOG.md b/CHANGELOG.md
 2index 1853b1c324fb584b72643a44b4ee0ef6ca733556..6bff3940031b5ba66b49e3e3f0aca9b57521f4b0 100644
 3--- a/CHANGELOG.md
 4+++ b/CHANGELOG.md
 5@@ -1,5 +1,9 @@
 6 # Changelog
 7 
 8+# Upcoming
 9+
10+- Fixed a crash when using locked opaque tabs.
11+
12 # hl0.54.2.1 and before
13 
14 - Fixed focus across monitors not working.
15diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
16index 8ba3bb8f195b932e0b197e4c971ca983da02e4c0..b3eb5d2882c7a2bfc893940871fb09fd57824b97 100644
17--- a/src/TabGroup.cpp
18+++ b/src/TabGroup.cpp
19@@ -874,7 +874,7 @@ bool Hy3TabPassElement::needsPrecomputeBlur() {
20 	static const auto col_urgent = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.urgent");
21 	static const auto col_border_urgent = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.urgent.border");
22 	static const auto col_locked = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.locked");
23-	static const auto col_border_locked = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.urgent.locked");
24+	static const auto col_border_locked = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.locked.border");
25 	static const auto col_inactive = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.inactive");
26 	static const auto col_border_inactive = ConfigValue<Hyprlang::INT>("plugin:hy3:tabs:col.inactive.border");
27 	// clang-format on