animationmgr: expand layer box for damage

This commit is contained in:
Vaxry 2024-02-22 15:34:18 +00:00
parent 0ebee80bca
commit 7fbe016c15

View file

@ -223,6 +223,11 @@ void CAnimationManager::tick() {
} else if (PLAYER) { } else if (PLAYER) {
if (PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM) if (PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || PLAYER->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM)
g_pHyprOpenGL->markBlurDirtyForMonitor(PMONITOR); g_pHyprOpenGL->markBlurDirtyForMonitor(PMONITOR);
// some fucking layers miss 1 pixel???
CBox expandBox = WLRBOXPREV;
expandBox.expand(5);
g_pHyprRenderer->damageBox(&expandBox);
} }
break; break;
} }