mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:45:59 +01:00
Reloads dynamic window rules (#2585)
* Reloads dynamic window rules * Update ConfigManager.cpp * Update ConfigManager.cpp
This commit is contained in:
parent
4294456cdc
commit
7ed66abe57
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue