From 6427bb41d8f1bbd96e6af403fea1b9c111d9a3a9 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 1 Aug 2022 13:12:50 +0200 Subject: [PATCH] reload blur on cfg reload --- src/config/ConfigManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index e59c1a32..291b31e8 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -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;