diff options
Diffstat (limited to 'src/desktop/WindowRule.cpp')
| -rw-r--r-- | src/desktop/WindowRule.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/desktop/WindowRule.cpp b/src/desktop/WindowRule.cpp index 48bf2ff0..dc6564ca 100644 --- a/src/desktop/WindowRule.cpp +++ b/src/desktop/WindowRule.cpp @@ -10,7 +10,7 @@ static const auto RULES = std::unordered_set<std::string>{ static const auto RULES_PREFIX = std::unordered_set<std::string>{ "animation", "bordercolor", "bordersize", "center", "content", "fullscreenstate", "group", "idleinhibit", "maxsize", "minsize", "monitor", "move", "noclosefor", "opacity", "plugin:", "prop", "pseudo", "rounding", "roundingpower", "scrollmouse", "scrolltouchpad", "size", - "suppressevent", "tag", "workspace", "xray", + "suppressevent", "tag", "workspace", "xray", "novrr", }; CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool isV2, bool isExecRule) : m_value(value), m_rule(rule), m_v2(isV2), m_execRule(isExecRule) { @@ -70,6 +70,8 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool m_ruleType = RULE_SIZE; else if (rule.starts_with("suppressevent")) m_ruleType = RULE_SUPPRESSEVENT; + else if (rule.starts_with("novrr")) + m_ruleType = RULE_NOVRR; else if (rule.starts_with("tag")) m_ruleType = RULE_TAG; else if (rule.starts_with("workspace")) |
