mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 15:41:58 -07:00
Reloads dynamic window rules (#2585)
* Reloads dynamic window rules * Update ConfigManager.cpp * Update ConfigManager.cpp
This commit is contained in:
@@ -1564,6 +1564,14 @@ void CConfigManager::loadConfigLoadVars() {
|
|||||||
// Update window border colors
|
// Update window border colors
|
||||||
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
||||||
|
|
||||||
|
// Updates dynamic window rules
|
||||||
|
for (auto& w : g_pCompositor->m_vWindows) {
|
||||||
|
if (!w->m_bIsMapped)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
w->updateDynamicRules();
|
||||||
|
}
|
||||||
|
|
||||||
// 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