mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
deco/border: fix damage region
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user