fix: opacity winrule not apply

This commit is contained in:
DreamMaoMao 2025-06-14 11:20:27 +08:00
parent a59b1040e4
commit e0b8608cf0
2 changed files with 42 additions and 37 deletions

View file

@ -1348,6 +1348,10 @@ void parse_config_line(Config *config, const char *line) {
rule->isunglobal = atoi(val);
} else if (strcmp(key, "isglobal") == 0) {
rule->isglobal = atoi(val);
} else if (strcmp(key, "unfocused_opacity") == 0) {
rule->unfocused_opacity = atof(val);
} else if (strcmp(key, "focused_opacity") == 0) {
rule->focused_opacity = atof(val);
} else if (strcmp(key, "isoverlay") == 0) {
rule->isoverlay = atoi(val);
} else if (strcmp(key, "isterm") == 0) {