From 45378600793c61356b557d5aa4bbb8ce351f9d41 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 18 Jul 2023 11:49:57 +0200 Subject: [PATCH] layout: recalculate monitor instead of window in updateDynamicRules --- src/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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