summaryrefslogtreecommitdiff
path: root/src/protocols/CTMControl.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-26 15:16:36 +0100
committerGitHub <noreply@github.com>2026-04-26 15:16:36 +0100
commit5ba33f846129f3e6c0505b19f94634b24505e828 (patch)
treeaaacabe678006040c342935481a86607c66607fd /src/protocols/CTMControl.cpp
parent329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff)
config/lua: init lua config manager, use lua if available (#13817)
Adds a new lua config manager, which will automatically be used if there is a lua config present.
Diffstat (limited to 'src/protocols/CTMControl.cpp')
-rw-r--r--src/protocols/CTMControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/CTMControl.cpp b/src/protocols/CTMControl.cpp
index 3a590cde..16ebb50d 100644
--- a/src/protocols/CTMControl.cpp
+++ b/src/protocols/CTMControl.cpp
@@ -108,7 +108,7 @@ void CHyprlandCTMControlProtocol::destroyResource(CHyprlandCTMControlResource* r
}
bool CHyprlandCTMControlProtocol::isCTMAnimationEnabled() {
- static auto PENABLEANIM = CConfigValue<Hyprlang::INT>("render:ctm_animation");
+ static auto PENABLEANIM = CConfigValue<Config::INTEGER>("render:ctm_animation");
if (*PENABLEANIM == 2 /* auto */) {
if (!g_pHyprRenderer->isNvidia())