From 7299a3b0d5332da030e980e60b0ee35b93387cff Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Tue, 3 Mar 2026 13:03:47 +0000 Subject: hyprctl: fix workspace dynamic effect reloading (#13537) ref https://github.com/hyprwm/Hyprland/discussions/12806 --- src/debug/HyprCtl.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/debug') 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); } -- cgit v1.2.3