aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-09-06 18:12:41 +0200
committervaxerski <[email protected]>2022-09-06 18:12:41 +0200
commit4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2 (patch)
treec95db8d5cb9d4ab06ac835ccdee73dba177fc1dc
parent4b7d28d2cb97a356501a03afbbce66784972a462 (diff)
downloadHyprland-4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2.tar.gz
Hyprland-4a8274e5f0d6c48cf83cfdc83ecd1a02225b90e2.zip
fix dwindle no gaps when only when dissolving a group
-rw-r--r--src/layout/DwindleLayout.cpp6
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;
}