mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
Don't give up on tagrules until there's a non-nil and not "nil" tag string.
This commit is contained in:
parent
93aa9a876d
commit
304b408bab
@ -930,7 +930,7 @@ apply_rules(Client *c) {
|
||||
for(r=def.tagrules.rule; r; r=r->next)
|
||||
if(!regexec(&r->regex, c->props, 1, &rm, 0)) {
|
||||
apply_tags(c, r->value);
|
||||
if(strcmp(c->tags, "nil"))
|
||||
if(c->tags[0] && strcmp(c->tags, "nil"))
|
||||
break;
|
||||
}
|
||||
if(c->tags[0] == '\0')
|
||||
|
Loading…
Reference in New Issue
Block a user