aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-12 12:14:57 +0100
committervaxerski <[email protected]>2023-01-12 12:14:57 +0100
commit8440aa3e9b2682261cf9608e553761ec4cf21654 (patch)
treec23fadf4d62a718537715dc5c7aba1f6e7f8e197
parent11afb660102198abb1e74fffdffd00f8c1a11cd9 (diff)
downloadHyprland-8440aa3e9b2682261cf9608e553761ec4cf21654.tar.gz
Hyprland-8440aa3e9b2682261cf9608e553761ec4cf21654.zip
repaint on dynamic decoration keywords
-rw-r--r--src/debug/HyprCtl.cpp6
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 == "")