diff options
author | vaxerski <[email protected]> | 2022-09-06 18:12:41 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-09-06 18:12:41 +0200 |
commit | 4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2 (patch) | |
tree | c95db8d5cb9d4ab06ac835ccdee73dba177fc1dc | |
parent | 4b7d28d2cb97a356501a03afbbce66784972a462 (diff) | |
download | Hyprland-4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2.tar.gz Hyprland-4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2.zip |
fix dwindle no gaps when only when dissolving a group
-rw-r--r-- | src/layout/DwindleLayout.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |