aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-08-16 16:19:52 +0200
committervaxerski <[email protected]>2022-08-16 16:19:52 +0200
commitbec75013658836e24d4bc9d3a5a96d328b8c7bf0 (patch)
tree03e9d74993084f1cd6c5f1efab7de19b78f418e5 /src/render/Renderer.cpp
parentea45c6bfe0388b7d49548538473ee80ab852cce7 (diff)
downloadHyprland-bec75013658836e24d4bc9d3a5a96d328b8c7bf0.tar.gz
Hyprland-bec75013658836e24d4bc9d3a5a96d328b8c7bf0.zip
fix borders on no_gaps_when_only
Diffstat (limited to 'src/render/Renderer.cpp')
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 6251d0a8..9d442be9 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -255,7 +255,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
wlr_surface_for_each_surface(g_pXWaylandManager->getWindowSurface(pWindow), renderSurface, &renderdata);
- if (renderdata.decorate) {
+ if (renderdata.decorate && pWindow->m_sSpecialRenderData.border) {
static auto *const PROUNDING = &g_pConfigManager->getConfigValuePtr("decoration:rounding")->intValue;
float rounding = renderdata.dontRound ? 0 : renderdata.rounding == -1 ? *PROUNDING : renderdata.rounding;