mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:09:49 +01:00
simplify config monitor reloads and rearrange layers
This commit is contained in:
parent
e71a4d75de
commit
5fdd1dd60f
1 changed files with 7 additions and 4 deletions
|
@ -1160,12 +1160,15 @@ void CConfigManager::loadConfigLoadVars() {
|
|||
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
|
||||
|
||||
// mark blur dirty
|
||||
for (auto& m : g_pCompositor->m_vMonitors)
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
g_pHyprOpenGL->markBlurDirtyForMonitor(m.get());
|
||||
|
||||
// Force the compositor to fully re-render all monitors
|
||||
for (auto& m : g_pCompositor->m_vMonitors)
|
||||
m->forceFullFrames = 2;
|
||||
m->forceFullFrames = 2; // Force the compositor to fully re-render all monitors
|
||||
|
||||
// rearrange layers
|
||||
g_pHyprRenderer->arran
|
||||
}
|
||||
|
||||
|
||||
// Reset no monitor reload
|
||||
m_bNoMonitorReload = false;
|
||||
|
|
Loading…
Reference in a new issue