diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-16 18:40:54 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-16 18:40:57 +0100 |
| commit | 2f01a18989f03db6f7aedd5e9ce87326f6f3be78 (patch) | |
| tree | 40e168b51216a258eca18a839526a86b050ddb4c /src | |
| parent | a53ec98b82b0c7d8054121ae05233b89c610e62f (diff) | |
window: recalculate layout on swallow in map
fixes #2848
Diffstat (limited to 'src')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
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); } } } |
