From 493fc009533b5d5b94c5d11d32bcd730094e5669 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 26 Nov 2022 18:48:16 +0000 Subject: fix decorations missing after no_gaps_when_only toggle floating --- src/layout/MasterLayout.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/layout/MasterLayout.cpp') 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); -- cgit v1.2.3