From 3263e48675107632b1a6547163153633a9cbfbf7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 26 Jun 2022 22:47:13 +0200 Subject: [PATCH] rerender monitors on config reload --- src/config/ConfigManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 35cf64e03..f8f49ed6b 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -807,6 +807,10 @@ void CConfigManager::loadConfigLoadVars() { // Update window border colors g_pCompositor->updateAllWindowsBorders(); + + // Force the compositor to fully re-render all monitors + for (auto& m : g_pCompositor->m_lMonitors) + m.forceFullFrames = 2; } void CConfigManager::tick() {