mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-25 15:10:18 +01:00
windowrules: bring back windowUpdateRules
This commit is contained in:
parent
9495f989b4
commit
e4b40abce6
1 changed files with 4 additions and 0 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue