mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 22:22:00 -07:00
renderer: remove border on fullscreen (#5577)
modified: src/render/Renderer.cpp
This commit is contained in:
@@ -550,7 +550,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (decorate) {
|
if (renderdata.decorate) {
|
||||||
for (auto& wd : pWindow->m_dWindowDecorations) {
|
for (auto& wd : pWindow->m_dWindowDecorations) {
|
||||||
if (wd->getDecorationLayer() != DECORATION_LAYER_BOTTOM)
|
if (wd->getDecorationLayer() != DECORATION_LAYER_BOTTOM)
|
||||||
continue;
|
continue;
|
||||||
@@ -582,7 +582,7 @@ void CHyprRenderer::renderWindow(CWindow* pWindow, CMonitor* pMonitor, timespec*
|
|||||||
|
|
||||||
g_pHyprOpenGL->m_RenderData.useNearestNeighbor = false;
|
g_pHyprOpenGL->m_RenderData.useNearestNeighbor = false;
|
||||||
|
|
||||||
if (decorate) {
|
if (renderdata.decorate) {
|
||||||
for (auto& wd : pWindow->m_dWindowDecorations) {
|
for (auto& wd : pWindow->m_dWindowDecorations) {
|
||||||
if (wd->getDecorationLayer() != DECORATION_LAYER_OVER)
|
if (wd->getDecorationLayer() != DECORATION_LAYER_OVER)
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user