summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.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/DwindleLayout.cpp
parentc709dc5e8e699b94d21d40b7f5bb52f74cd4e468 (diff)
fix decorations missing after no_gaps_when_only toggle floating
Diffstat (limited to 'src/layout/DwindleLayout.cpp')
-rw-r--r--src/layout/DwindleLayout.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp
index cc6051de..c4b1e5a9 100644
--- a/src/layout/DwindleLayout.cpp
+++ b/src/layout/DwindleLayout.cpp
@@ -457,6 +457,10 @@ void CHyprDwindleLayout::onWindowRemovedTiling(CWindow* pWindow) {
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);