Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Feb 25, 2025
1 parent 691310f commit b4463e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop/WindowRule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "../config/ConfigManager.hpp"

static const auto RULES = std::unordered_set<std::string>{
"float", "fullscreen", "maximize", "noinitialfocus", "pin", "stayfocused", "tile", "renderunfocused",
"float", "fullscreen", "maximize", "noinitialfocus", "pin", "stayfocused", "tile", "renderunfocused", "persistentsize",
};
static const auto RULES_PREFIX = std::unordered_set<std::string>{
"animation", "bordercolor", "bordersize", "center", "content", "fullscreenstate", "group", "idleinhibit", "maxsize", "minsize",
Expand Down
1 change: 1 addition & 0 deletions src/desktop/WindowRule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class CWindowRule {
RULE_WORKSPACE,
RULE_PROP,
RULE_CONTENT,
RULE_PERSISTENTSIZE,
};

eRuleType ruleType = RULE_INVALID;
Expand Down

0 comments on commit b4463e1

Please sign in to comment.