From 6424a1e398ee6a5ad442cd27fb2acb82c0f04337 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 18 Dec 2022 15:05:34 +0000 Subject: [PATCH] mark blur dirty on dynamic blur keywords --- src/debug/HyprCtl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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 == "")