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);