diff options
author | MightyPlaza <[email protected]> | 2024-04-13 23:16:26 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-14 00:16:26 +0100 |
commit | 0634aaeac6cca12e4f72174c431c2db9da9c0072 (patch) | |
tree | a7dcb52ea9d8823528fb17d4288159dafee65e3b | |
parent | 61fe47189b885058157b23326118627ae61f3746 (diff) | |
download | Hyprland-0634aaeac6cca12e4f72174c431c2db9da9c0072.tar.gz Hyprland-0634aaeac6cca12e4f72174c431c2db9da9c0072.zip |
renderer: remove border on fullscreen (#5577)
modified: src/render/Renderer.cpp
-rw-r--r-- | src/render/Renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 3bcb99bb..672adb1d 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -550,7 +550,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec* } } - if (decorate) { + if (renderdata.decorate) { for (auto& wd : pWindow->m_dWindowDecorations) { if (wd->getDecorationLayer() != DECORATION_LAYER_BOTTOM) continue; @@ -582,7 +582,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec* g_pHyprOpenGL->m_RenderData.useNearestNeighbor = false; - if (decorate) { + if (renderdata.decorate) { for (auto& wd : pWindow->m_dWindowDecorations) { if (wd->getDecorationLayer() != DECORATION_LAYER_OVER) continue; |