diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-18 15:05:34 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-18 15:05:34 +0000 |
| commit | 6424a1e398ee6a5ad442cd27fb2acb82c0f04337 (patch) | |
| tree | 4a7e080e397264227be69f2c277de76b7b2a42df /src/debug/HyprCtl.cpp | |
| parent | a163ca92377a56c196222a48c0a5676a7bb4ac3b (diff) | |
mark blur dirty on dynamic blur 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 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 == "") |
