From dbb67327430574fc9c68a03bc6b896478560e95f Mon Sep 17 00:00:00 2001 From: Jef <54236+ElJeffe@users.noreply.github.com> Date: Tue, 15 Nov 2022 11:21:26 +0100 Subject: apply some rules dynamically when state of window changes (#1020) Co-authored-by: Jef Steelant --- src/Compositor.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Compositor.cpp') 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) { -- cgit v1.2.3