summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorJef <54236+ElJeffe@users.noreply.github.com>2022-11-15 11:21:26 +0100
committerGitHub <noreply@github.com>2022-11-15 10:21:26 +0000
commitdbb67327430574fc9c68a03bc6b896478560e95f (patch)
treeb48bdc8463868eee0cb99dafa094f2a6f4f10e98 /src/Compositor.cpp
parent4034aa2c60d7ed88cb64e7c36f42ec388c28cfb2 (diff)
apply some rules dynamically when state of window changes (#1020)
Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index b1bbe800..43bfbe78 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -1732,6 +1732,9 @@ void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode
g_pXWaylandManager->setWindowFullscreen(pWindow, pWindow->m_bIsFullscreen && mode == FULLSCREEN_FULL);
+ pWindow->updateDynamicRules();
+ g_pCompositor->updateWindowAnimatedDecorationValues(pWindow);
+
// make all windows on the same workspace under the fullscreen window
for (auto& w : g_pCompositor->m_vWindows) {
if (w->m_iWorkspaceID == pWindow->m_iWorkspaceID) {