summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/AnimationManager.cpp')
-rw-r--r--src/managers/AnimationManager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index e292de29..3d6ebdd8 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -213,6 +213,12 @@ void CAnimationManager::tick() {
continue;
w->updateWindowDecos();
+
+ if (w->m_bIsFloating) {
+ auto bb = w->getFullWindowBoundingBox();
+ bb.translate(PWORKSPACE->m_vRenderOffset.vec());
+ g_pHyprRenderer->damageBox(&bb);
+ }
}
} else if (PLAYER) {
if (PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)