diff options
author | vaxerski <[email protected]> | 2023-01-12 12:14:57 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-01-12 12:14:57 +0100 |
commit | 8440aa3e9b2682261cf9608e553761ec4cf21654 (patch) | |
tree | c23fadf4d62a718537715dc5c7aba1f6e7f8e197 | |
parent | 11afb660102198abb1e74fffdffd00f8c1a11cd9 (diff) | |
download | Hyprland-8440aa3e9b2682261cf9608e553761ec4cf21654.tar.gz Hyprland-8440aa3e9b2682261cf9608e553761ec4cf21654.zip |
repaint on dynamic decoration keywords
-rw-r--r-- | src/debug/HyprCtl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 == "") |