mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -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
|
||||
g_pCompositor->updateAllWindowsAnimatedDecorationValues();
|
||||
|
||||
// Updates dynamic window rules
|
||||
for (auto& w : g_pCompositor->m_vWindows) {
|
||||
if (!w->m_bIsMapped)
|
||||
continue;
|
||||
|
||||
w->updateDynamicRules();
|
||||
}
|
||||
|
||||
// update layout
|
||||
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
|
||||
|
||||
|
Reference in New Issue
Block a user