summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-02-22 15:34:18 +0000
committerVaxry <vaxry@vaxry.net>2024-02-22 15:34:18 +0000
commit7fbe016c15ebdd228d8aadd44a0183d00a58a05b (patch)
treee2ba89e0f15017fa66722888ed734fb8bd198f18 /src/managers/AnimationManager.cpp
parent0ebee80bca2dec9a906f08d5881478d9917d4716 (diff)
animationmgr: expand layer box for damage
Diffstat (limited to 'src/managers/AnimationManager.cpp')
-rw-r--r--src/managers/AnimationManager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index 5d2f3ce3..23584827 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -223,6 +223,11 @@ void CAnimationManager::tick() {
} else if (PLAYER) {
if (PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)
g_pHyprOpenGL->markBlurDirtyForMonitor(PMONITOR);
+
+ // some fucking layers miss 1 pixel???
+ CBox expandBox = WLRBOXPREV;
+ expandBox.expand(5);
+ g_pHyprRenderer->damageBox(&expandBox);
}
break;
}