summaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/DwindleLayout.cpp4
-rw-r--r--src/layout/IHyprLayout.cpp2
-rw-r--r--src/layout/MasterLayout.cpp4
3 files changed, 10 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp
index 4ce2f66c..85993676 100644
--- a/src/layout/DwindleLayout.cpp
+++ b/src/layout/DwindleLayout.cpp
@@ -751,6 +751,10 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree
// 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
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 70959d3b..1cddcdaa 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -354,6 +354,8 @@ void IHyprLayout::changeWindowFloatingMode(CWindow* pWindow) {
g_pHyprRenderer->damageMonitor(g_pCompositor->getMonitorFromID(pWindow->m_iMonitorID));
pWindow->m_sSpecialRenderData.rounding = true;
+ pWindow->m_sSpecialRenderData.border = true;
+ pWindow->m_sSpecialRenderData.decorate = true;
if (pWindow == m_pLastTiledWindow)
m_pLastTiledWindow = nullptr;
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