From 990ad854bd1b17117e00e0b2dc26aefff5e30ed2 Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Wed, 28 Jun 2023 09:40:16 +0000 Subject: [PATCH] Reloads animated decoration values set on window rules (#2594) * Reloads dynamic window rules * Update ConfigManager.cpp * Update ConfigManager.cpp * Reloads animated decoration values set on window rules Reloads animated decoration values like border color and opacity set on window rule on config reload. --- src/config/ConfigManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f0c04c60..141cf558 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1561,9 +1561,6 @@ void CConfigManager::loadConfigLoadVars() { ensureVRR(); } - // Update window border colors - g_pCompositor->updateAllWindowsAnimatedDecorationValues(); - // Updates dynamic window rules for (auto& w : g_pCompositor->m_vWindows) { if (!w->m_bIsMapped) @@ -1572,6 +1569,9 @@ void CConfigManager::loadConfigLoadVars() { w->updateDynamicRules(); } + // Update window border colors + g_pCompositor->updateAllWindowsAnimatedDecorationValues(); + // update layout g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);