summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-12-18 15:05:34 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-12-18 15:05:34 +0000
commit6424a1e398ee6a5ad442cd27fb2acb82c0f04337 (patch)
tree4a7e080e397264227be69f2c277de76b7b2a42df /src/debug/HyprCtl.cpp
parenta163ca92377a56c196222a48c0a5676a7bb4ac3b (diff)
mark blur dirty on dynamic blur keywords
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-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 b445b112..d888b751 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -559,6 +559,12 @@ std::string dispatchKeyword(std::string in) {
if (COMMAND.contains("decoration:screen_shader"))
g_pHyprOpenGL->m_bReloadScreenShader = true;
+ if (COMMAND.contains("blur")) {
+ for (auto& [m, rd] : g_pHyprOpenGL->m_mMonitorRenderResources) {
+ rd.blurFBDirty = true;
+ }
+ }
+
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
if (retval == "")