mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-19 14:03:47 -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();
|
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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user