mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:09:49 +01: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:
parent
d83296c7a9
commit
990ad854bd
1 changed files with 3 additions and 3 deletions
|
@ -1561,9 +1561,6 @@ void CConfigManager::loadConfigLoadVars() {
|
||||||
ensureVRR();
|
ensureVRR();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update window border colors
|
|
||||||
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
|
||||||
|
|
||||||
// Updates dynamic window rules
|
// Updates dynamic window rules
|
||||||
for (auto& w : g_pCompositor->m_vWindows) {
|
for (auto& w : g_pCompositor->m_vWindows) {
|
||||||
if (!w->m_bIsMapped)
|
if (!w->m_bIsMapped)
|
||||||
|
@ -1572,6 +1569,9 @@ void CConfigManager::loadConfigLoadVars() {
|
||||||
w->updateDynamicRules();
|
w->updateDynamicRules();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update window border colors
|
||||||
|
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
||||||
|
|
||||||
// update layout
|
// update layout
|
||||||
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
|
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue