windowrules: bring back windowUpdateRules

This commit is contained in:
Vaxry 2025-11-18 16:49:09 +00:00
parent 9495f989b4
commit e4b40abce6
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -5,6 +5,7 @@
#include "../../Window.hpp"
#include "../../types/OverridableVar.hpp"
#include "../../../managers/LayoutManager.hpp"
#include "../../../managers/HookSystemManager.hpp"
#include <hyprutils/string/String.hpp>
@ -639,4 +640,7 @@ void CWindowRuleApplicator::propertiesChanged(std::underlying_type_t<eRuleProper
if (needsRelayout)
g_pDecorationPositioner->forceRecalcFor(m_window.lock());
// for plugins
EMIT_HOOK_EVENT("windowUpdateRules", m_window.lock());
}