mark blur dirty on dynamic blur keywords

This commit is contained in:
vaxerski 2022-12-18 15:05:34 +00:00
parent a163ca9237
commit 6424a1e398

View file

@ -559,6 +559,12 @@ std::string dispatchKeyword(std::string in) {
if (COMMAND.contains("decoration:screen_shader")) if (COMMAND.contains("decoration:screen_shader"))
g_pHyprOpenGL->m_bReloadScreenShader = true; 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()); Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
if (retval == "") if (retval == "")