From c5dc8c7ffdb91c5279a85ff0940d729144186f6e Mon Sep 17 00:00:00 2001 From: nnra6864 Date: Tue, 18 Nov 2025 23:45:33 +0100 Subject: [PATCH] Fixed hyprfocus Plugin works fine but this should defo be reviewed --- hyprfocus/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyprfocus/main.cpp b/hyprfocus/main.cpp index 26ff81a..a678cc8 100644 --- a/hyprfocus/main.cpp +++ b/hyprfocus/main.cpp @@ -59,8 +59,8 @@ static void onFocusChange(PHLWINDOW window) { if (!w) return; w->m_activeInactiveAlpha->setConfig(POUT); - g_pCompositor->updateWindowAnimatedDecorationValues(w.lock()); - w->updateDynamicRules(); + w->updateDecorationValues(); + w->m_ruleApplicator->propertiesChanged(Desktop::Rule::RULE_PROP_ON_WORKSPACE); w->m_activeInactiveAlpha->setCallbackOnEnd(nullptr); });