mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:49:48 +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);
|
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
|
||||||
|
|
||||||
// mark blur dirty
|
// mark blur dirty
|
||||||
for (auto& m : g_pCompositor->m_vMonitors)
|
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||||
g_pHyprOpenGL->markBlurDirtyForMonitor(m.get());
|
g_pHyprOpenGL->markBlurDirtyForMonitor(m.get());
|
||||||
|
|
||||||
// Force the compositor to fully re-render all monitors
|
m->forceFullFrames = 2; // Force the compositor to fully re-render all monitors
|
||||||
for (auto& m : g_pCompositor->m_vMonitors)
|
|
||||||
m->forceFullFrames = 2;
|
// rearrange layers
|
||||||
|
g_pHyprRenderer->arran
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Reset no monitor reload
|
// Reset no monitor reload
|
||||||
m_bNoMonitorReload = false;
|
m_bNoMonitorReload = false;
|
||||||
|
|
Loading…
Reference in a new issue