From 65876d972857d55677076fb8d70e098728ba03e0 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 2 Jul 2026 09:36:17 +0200 Subject: [PATCH] animation/variable: set begun on operator= always speculative fix for https://github.com/hyprwm/Hyprland/pull/15260\#issuecomment-4860012052 --- include/hyprutils/animation/AnimatedVariable.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/hyprutils/animation/AnimatedVariable.hpp b/include/hyprutils/animation/AnimatedVariable.hpp index c72044d..30cf361 100644 --- a/include/hyprutils/animation/AnimatedVariable.hpp +++ b/include/hyprutils/animation/AnimatedVariable.hpp @@ -224,8 +224,10 @@ namespace Hyprutils { } CGenericAnimatedVariable& operator=(const VarType& v) { - if (v == m_Goal) + if (v == m_Goal) { + m_Begun = v; return *this; + } const bool WASANIMATING = m_bIsBeingAnimated; float SPRINGVELOCITYSCALE = 1.f;