From aec53d24202dca4bd821b720a6e2c195c83162da Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 24 Nov 2021 18:53:56 +0100 Subject: [PATCH] Stop animating floating window movements. --- src/utilities/AnimationUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/AnimationUtil.cpp b/src/utilities/AnimationUtil.cpp index f23dd72..d531aa7 100644 --- a/src/utilities/AnimationUtil.cpp +++ b/src/utilities/AnimationUtil.cpp @@ -22,7 +22,7 @@ void AnimationUtil::move() { for (auto& window : g_pWindowManager->windows) { // check if window needs an animation. - if (ConfigManager::getInt("anim.enabled") == 0) { + if (ConfigManager::getInt("anim.enabled") == 0 || window.getIsFloating()) { // Disabled animations. instant warps. window.setRealPosition(window.getEffectivePosition()); window.setRealSize(window.getEffectiveSize());