mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-08 10:18:05 +02:00
fix
This commit is contained in:
parent
69dfe22b16
commit
0eec7441ef
1 changed files with 3 additions and 0 deletions
|
|
@ -252,6 +252,9 @@ static Desktop::Rule::CWindowRuleEffectContainer::storageType ruleIDX = 0;
|
|||
//
|
||||
static SDispatchResult addRule(std::string in) {
|
||||
ruleIDX = Desktop::Rule::windowEffects()->registerEffect("plugin_rule");
|
||||
|
||||
if (Desktop::Rule::windowEffects()->registerEffect("plugin_rule") != ruleIDX)
|
||||
return {.success = false, .error = "re-registering returned a different id?"};
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue