summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-26 18:48:16 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-26 18:48:16 +0000
commit493fc009533b5d5b94c5d11d32bcd730094e5669 (patch)
treeaff008d6f8f75e134479276e2305556e05110d37 /src/layout/MasterLayout.cpp
parentc709dc5e8e699b94d21d40b7f5bb52f74cd4e468 (diff)
fix decorations missing after no_gaps_when_only toggle 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 969eedb6..683dcdce 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -111,6 +111,10 @@ void CHyprMasterLayout::onWindowRemovedTiling(CWindow* pWindow) {
if (!PNODE)
return;
+ pWindow->m_sSpecialRenderData.rounding = true;
+ pWindow->m_sSpecialRenderData.border = true;
+ pWindow->m_sSpecialRenderData.decorate = true;
+
if (pWindow->m_bIsFullscreen)
g_pCompositor->setWindowFullscreen(pWindow, false, FULLSCREEN_FULL);