deco/border: fix damage region

This commit is contained in:
Vaxry 2026-03-07 10:26:37 +00:00
parent fadd8e9420
commit cc19f2ee8a
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -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)) {