reload blur on cfg reload

This commit is contained in:
vaxerski 2022-08-01 13:12:50 +02:00
parent 60c16f77a6
commit 6427bb41d8

View file

@ -1052,6 +1052,10 @@ void CConfigManager::loadConfigLoadVars() {
// update layout
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
// mark blur dirty
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;