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); 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);