mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 14:18:30 +02:00
deco/border: fix damage region
This commit is contained in:
parent
fadd8e9420
commit
cc19f2ee8a
1 changed files with 1 additions and 0 deletions
|
|
@ -123,6 +123,7 @@ void CHyprBorderDecoration::damageEntire() {
|
|||
|
||||
CRegion borderRegion(GLOBAL_BOX);
|
||||
borderRegion.subtract(GLOBAL_BOX.copy().expand(-(BORDERSIZE + ROUNDING)));
|
||||
borderRegion.expand(2); // pad
|
||||
|
||||
for (auto const& m : g_pCompositor->m_monitors) {
|
||||
if (!g_pHyprRenderer->shouldRenderWindow(m_window.lock(), m)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue