summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-01-31 12:15:34 +0000
committervaxerski <vaxry@vaxry.net>2023-01-31 12:15:40 +0000
commiteaf0fb14c933e49342afb0ae421e992dd84df8b9 (patch)
tree41efd9171edda1679c19984ac86425687b1ec968 /src/layout/MasterLayout.cpp
parent11234529dbc5f85fc46df479f563c2c563afe9c2 (diff)
reset layout-set render vars on floating
Diffstat (limited to 'src/layout/MasterLayout.cpp')
-rw-r--r--src/layout/MasterLayout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp
index 53b9c76b..2b1dd15a 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -534,6 +534,10 @@ void CHyprMasterLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscreen
// get back its' dimensions from position and size
pWindow->m_vRealPosition = pWindow->m_vLastFloatingPosition;
pWindow->m_vRealSize = pWindow->m_vLastFloatingSize;
+
+ pWindow->m_sSpecialRenderData.rounding = true;
+ pWindow->m_sSpecialRenderData.border = true;
+ pWindow->m_sSpecialRenderData.decorate = true;
}
} else {
// if it now got fullscreen, make it fullscreen