From 8440aa3e9b2682261cf9608e553761ec4cf21654 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Thu, 12 Jan 2023 12:14:57 +0100 Subject: [PATCH] repaint on dynamic decoration keywords --- src/debug/HyprCtl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index b42e787b..e4139a0c 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -618,6 +618,12 @@ std::string dispatchKeyword(std::string in) { } } + // decorations will probably need a repaint + if (COMMAND.contains("decoration:")) { + for (auto& m : g_pCompositor->m_vMonitors) + g_pHyprRenderer->damageMonitor(m.get()); + } + Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str()); if (retval == "")