From 4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 6 Sep 2022 18:12:41 +0200 Subject: [PATCH] fix dwindle no gaps when only when dissolving a group --- src/layout/DwindleLayout.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 217ac9ae..6d66fb14 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -484,6 +484,12 @@ void CHyprDwindleLayout::onWindowRemovedTiling(CWindow* pWindow) { PNEXT->pWindow->m_bHidden = false; m_lDwindleNodesData.remove(*PNODE); + + if (!PNEXT->isGroupMember()) { + // means we dissolved the group + recalculateMonitor(PNEXT->pWindow->m_iMonitorID); + } + return; }