From 7fbe016c15ebdd228d8aadd44a0183d00a58a05b Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 22 Feb 2024 15:34:18 +0000 Subject: [PATCH] animationmgr: expand layer box for damage --- src/managers/AnimationManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; }