summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/decorations/CHyprBorderDecoration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/decorations/CHyprBorderDecoration.cpp b/src/render/decorations/CHyprBorderDecoration.cpp
index 4981d2ea..76e60348 100644
--- a/src/render/decorations/CHyprBorderDecoration.cpp
+++ b/src/render/decorations/CHyprBorderDecoration.cpp
@@ -92,8 +92,8 @@ void CHyprBorderDecoration::damageEntire() {
auto surfaceBox = m_pWindow->getWindowMainSurfaceBox();
const auto ROUNDING = m_pWindow->rounding();
- const auto ROUNDINGSIZE = ROUNDING - M_SQRT1_2 * ROUNDING + 1;
- const auto BORDERSIZE = m_pWindow->getRealBorderSize();
+ const auto ROUNDINGSIZE = ROUNDING - M_SQRT1_2 * ROUNDING + 2;
+ const auto BORDERSIZE = m_pWindow->getRealBorderSize() + 1;
const auto PWINDOWWORKSPACE = g_pCompositor->getWorkspaceByID(m_pWindow->m_iWorkspaceID);
if (PWINDOWWORKSPACE && PWINDOWWORKSPACE->m_vRenderOffset.isBeingAnimated() && !m_pWindow->m_bPinned)