mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
animationmgr: expand layer box for damage
This commit is contained in:
parent
0ebee80bca
commit
7fbe016c15
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user