diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-03-03 13:03:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-03 13:03:47 +0000 |
| commit | 7299a3b0d5332da030e980e60b0ee35b93387cff (patch) | |
| tree | 5f59a47fab260956037e89c39b04cc84dff44cb1 /src/debug | |
| parent | b06a4b5e130710ee66d0a9b04780d99777d87b47 (diff) | |
hyprctl: fix workspace dynamic effect reloading (#13537)
ref https://github.com/hyprwm/Hyprland/discussions/12806
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 1fcb3dd1..417767e1 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -2197,6 +2197,15 @@ std::string CHyprCtl::getReply(std::string request) { Desktop::Rule::ruleEngine()->updateAllRules(); } + for (const auto& ws : g_pCompositor->getWorkspaces()) { + if (!ws) + continue; + + ws->updateWindows(); + ws->updateWindowData(); + ws->updateWindowDecos(); + } + for (auto const& m : g_pCompositor->m_monitors) { g_pHyprRenderer->damageMonitor(m); } |
