mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-25 20:09:48 +01:00
parent
788ae58897
commit
428862016c
2 changed files with 0 additions and 15 deletions
|
@ -41,8 +41,6 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool
|
||||||
ruleType = RULE_ANIMATION;
|
ruleType = RULE_ANIMATION;
|
||||||
else if (rule.starts_with("bordercolor"))
|
else if (rule.starts_with("bordercolor"))
|
||||||
ruleType = RULE_BORDERCOLOR;
|
ruleType = RULE_BORDERCOLOR;
|
||||||
else if (rule.starts_with("bordersize"))
|
|
||||||
ruleType = RULE_BORDERSIZE;
|
|
||||||
else if (rule.starts_with("center"))
|
else if (rule.starts_with("center"))
|
||||||
ruleType = RULE_CENTER;
|
ruleType = RULE_CENTER;
|
||||||
else if (rule.starts_with("fullscreenstate"))
|
else if (rule.starts_with("fullscreenstate"))
|
||||||
|
@ -65,12 +63,6 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool
|
||||||
ruleType = RULE_PLUGIN;
|
ruleType = RULE_PLUGIN;
|
||||||
else if (rule.starts_with("pseudo"))
|
else if (rule.starts_with("pseudo"))
|
||||||
ruleType = RULE_PSEUDO;
|
ruleType = RULE_PSEUDO;
|
||||||
else if (rule.starts_with("rounding"))
|
|
||||||
ruleType = RULE_ROUNDING;
|
|
||||||
else if (rule.starts_with("scrollmouse"))
|
|
||||||
ruleType = RULE_SCROLLMOUSE;
|
|
||||||
else if (rule.starts_with("scrolltouchpad"))
|
|
||||||
ruleType = RULE_SCROLLTOUCHPAD;
|
|
||||||
else if (rule.starts_with("size"))
|
else if (rule.starts_with("size"))
|
||||||
ruleType = RULE_SIZE;
|
ruleType = RULE_SIZE;
|
||||||
else if (rule.starts_with("suppressevent"))
|
else if (rule.starts_with("suppressevent"))
|
||||||
|
@ -79,8 +71,6 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool
|
||||||
ruleType = RULE_TAG;
|
ruleType = RULE_TAG;
|
||||||
else if (rule.starts_with("workspace"))
|
else if (rule.starts_with("workspace"))
|
||||||
ruleType = RULE_WORKSPACE;
|
ruleType = RULE_WORKSPACE;
|
||||||
else if (rule.starts_with("xray"))
|
|
||||||
ruleType = RULE_XRAY;
|
|
||||||
else if (rule.starts_with("prop"))
|
else if (rule.starts_with("prop"))
|
||||||
ruleType = RULE_PROP;
|
ruleType = RULE_PROP;
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -19,7 +19,6 @@ class CWindowRule {
|
||||||
RULE_RENDERUNFOCUSED,
|
RULE_RENDERUNFOCUSED,
|
||||||
RULE_ANIMATION,
|
RULE_ANIMATION,
|
||||||
RULE_BORDERCOLOR,
|
RULE_BORDERCOLOR,
|
||||||
RULE_BORDERSIZE,
|
|
||||||
RULE_CENTER,
|
RULE_CENTER,
|
||||||
RULE_FULLSCREENSTATE,
|
RULE_FULLSCREENSTATE,
|
||||||
RULE_GROUP,
|
RULE_GROUP,
|
||||||
|
@ -31,14 +30,10 @@ class CWindowRule {
|
||||||
RULE_OPACITY,
|
RULE_OPACITY,
|
||||||
RULE_PLUGIN,
|
RULE_PLUGIN,
|
||||||
RULE_PSEUDO,
|
RULE_PSEUDO,
|
||||||
RULE_ROUNDING,
|
|
||||||
RULE_SCROLLMOUSE,
|
|
||||||
RULE_SCROLLTOUCHPAD,
|
|
||||||
RULE_SIZE,
|
RULE_SIZE,
|
||||||
RULE_SUPPRESSEVENT,
|
RULE_SUPPRESSEVENT,
|
||||||
RULE_TAG,
|
RULE_TAG,
|
||||||
RULE_WORKSPACE,
|
RULE_WORKSPACE,
|
||||||
RULE_XRAY,
|
|
||||||
RULE_PROP,
|
RULE_PROP,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue