summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-18 11:49:57 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-18 11:49:57 +0200
commit45378600793c61356b557d5aa4bbb8ce351f9d41 (patch)
treeaed4f9a9748f603cb66f7e84c42e4233ca36594d /src/Window.cpp
parent7f47655f60be2c54dfa0e1758cbff20ab38217fc (diff)
layout: recalculate monitor instead of window in updateDynamicRules
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index c4487de9..30a0029e 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -547,7 +547,7 @@ void CWindow::updateDynamicRules() {
applyDynamicRule(r);
}
- g_pLayoutManager->getCurrentLayout()->recalculateWindow(this);
+ g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m_iMonitorID);
}
// check if the point is "hidden" under a rounded corner of the window