diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-01-12 12:14:57 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-01-12 12:14:57 +0100 |
| commit | 8440aa3e9b2682261cf9608e553761ec4cf21654 (patch) | |
| tree | c23fadf4d62a718537715dc5c7aba1f6e7f8e197 /src/debug/HyprCtl.cpp | |
| parent | 11afb660102198abb1e74fffdffd00f8c1a11cd9 (diff) | |
repaint on dynamic decoration keywords
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -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 == "") |
