mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 22:51:58 -07:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user