mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 08:09:50 +01:00
mark blur dirty on dynamic blur keywords
This commit is contained in:
parent
a163ca9237
commit
6424a1e398
1 changed files with 6 additions and 0 deletions
|
@ -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 == "")
|
||||
|
|
Loading…
Reference in a new issue