aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-09-16 18:40:54 +0100
committervaxerski <[email protected]>2023-09-16 18:40:57 +0100
commit2f01a18989f03db6f7aedd5e9ce87326f6f3be78 (patch)
tree40e168b51216a258eca18a839526a86b050ddb4c
parenta53ec98b82b0c7d8054121ae05233b89c610e62f (diff)
downloadHyprland-2f01a18989f03db6f7aedd5e9ce87326f6f3be78.tar.gz
Hyprland-2f01a18989f03db6f7aedd5e9ce87326f6f3be78.zip
window: recalculate layout on swallow in map
fixes #2848
-rw-r--r--src/events/Windows.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index 8d7c6e86..f2986ef3 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -577,6 +577,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
g_pLayoutManager->getCurrentLayout()->onWindowRemoved(finalFound);
finalFound->setHidden(true);
+
+ g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PWINDOW->m_iMonitorID);
}
}
}