mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-04 14:11:59 -07:00
Update border colors on config reload
This commit is contained in:
@@ -523,7 +523,10 @@ std::string CConfigManager::parseKeyword(const std::string& COMMAND, const std::
|
||||
// invalidate layouts jic
|
||||
for (auto& m : g_pCompositor->m_lMonitors)
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m.ID);
|
||||
|
||||
|
||||
// Update window border colors
|
||||
g_pCompositor->updateAllWindowsBorders();
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
@@ -700,6 +703,9 @@ void CConfigManager::loadConfigLoadVars() {
|
||||
if (!isFirstLaunch) {
|
||||
m_bWantsMonitorReload = true;
|
||||
}
|
||||
|
||||
// Update window border colors
|
||||
g_pCompositor->updateAllWindowsBorders();
|
||||
}
|
||||
|
||||
void CConfigManager::tick() {
|
||||
|
Reference in New Issue
Block a user