summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-18 00:11:43 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-07-18 00:11:43 +0200
commit7f47655f60be2c54dfa0e1758cbff20ab38217fc (patch)
treee1f0fa5cef2e9063c2d966d8e4b21cf9dde6ed43 /src/Window.cpp
parent2c7b2ad6ca19950f13ec4a97204bb8ff18096bb3 (diff)
layout: recalc window on dynamic rule update
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp2
1 files changed, 2 insertions, 0 deletions
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