From 7f47655f60be2c54dfa0e1758cbff20ab38217fc Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 18 Jul 2023 00:11:43 +0200 Subject: [PATCH] layout: recalc window on dynamic rule update --- src/Window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Window.cpp b/src/Window.cpp index 7e7dce52..c4487de9 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -546,6 +546,8 @@ void CWindow::updateDynamicRules() { for (auto& r : WINDOWRULES) { applyDynamicRule(r); } + + g_pLayoutManager->getCurrentLayout()->recalculateWindow(this); } // check if the point is "hidden" under a rounded corner of the window