diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-22 15:34:18 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-22 15:34:18 +0000 |
| commit | 7fbe016c15ebdd228d8aadd44a0183d00a58a05b (patch) | |
| tree | e2ba89e0f15017fa66722888ed734fb8bd198f18 /src/managers/AnimationManager.cpp | |
| parent | 0ebee80bca2dec9a906f08d5881478d9917d4716 (diff) | |
animationmgr: expand layer box for damage
Diffstat (limited to 'src/managers/AnimationManager.cpp')
| -rw-r--r-- | src/managers/AnimationManager.cpp | 5 |
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; } |
