aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index 3d109667..de44f28d 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -313,7 +313,7 @@ void CWindow::onBorderAngleAnimEnd(void* ptr) {
const std::string STYLE = PANIMVAR->getConfig()->pValues->internalStyle;
- if (STYLE != "loop")
+ if (STYLE != "loop" || !PANIMVAR->getConfig()->pValues->internalEnabled)
return;
PANIMVAR->setCallbackOnEnd(nullptr); // we remove the callback here because otherwise setvalueandwarp will recurse this