mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
feat: allow set ~0 layout in tagrule
This commit is contained in:
parent
31ac4bd6ed
commit
ca824a7fe8
1 changed files with 1 additions and 1 deletions
|
|
@ -1360,7 +1360,7 @@ void parse_config_line(Config *config, const char *line) {
|
|||
trim_whitespace(val);
|
||||
|
||||
if (strcmp(key, "id") == 0) {
|
||||
rule->id = CLAMP_INT(atoi(val), 1, LENGTH(tags));
|
||||
rule->id = CLAMP_INT(atoi(val), 0, LENGTH(tags));
|
||||
} else if (strcmp(key, "layout_name") == 0) {
|
||||
rule->layout_name = strdup(val);
|
||||
} else if (strcmp(key, "monitor_name") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue