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 "../../Window.hpp"
|
||||||
#include "../../types/OverridableVar.hpp"
|
#include "../../types/OverridableVar.hpp"
|
||||||
#include "../../../managers/LayoutManager.hpp"
|
#include "../../../managers/LayoutManager.hpp"
|
||||||
|
#include "../../../managers/HookSystemManager.hpp"
|
||||||
|
|
||||||
#include <hyprutils/string/String.hpp>
|
#include <hyprutils/string/String.hpp>
|
||||||
|
|
||||||
|
|
@ -639,4 +640,7 @@ void CWindowRuleApplicator::propertiesChanged(std::underlying_type_t<eRuleProper
|
||||||
|
|
||||||
if (needsRelayout)
|
if (needsRelayout)
|
||||||
g_pDecorationPositioner->forceRecalcFor(m_window.lock());
|
g_pDecorationPositioner->forceRecalcFor(m_window.lock());
|
||||||
|
|
||||||
|
// for plugins
|
||||||
|
EMIT_HOOK_EVENT("windowUpdateRules", m_window.lock());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue