X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=tag.c;h=90223717a5d19e7c7a0384c707e0e49c9fa42f89;hb=666b4563a0064dd7aa27159813124837d306f81c;hp=448ed2a880ab99a75155d744b3708d73160b1625;hpb=7315bb08ad45e163dbf110b92f8f9f5d392d96e2;p=dwm.git diff --git a/tag.c b/tag.c index 448ed2a..9022371 100644 --- a/tag.c +++ b/tag.c @@ -169,9 +169,8 @@ settags(Client *c) if(!regcomp(®ex, rule[i].pattern, 0)) { if(!regexec(®ex, classinst, 1, &tmp, 0)) { for(j = 0; j < TLast; j++) { - if(rule[i].tags[j]) + if((c->tags[j] = rule[i].tags[j])) matched = True; - c->tags[j] = True; } c->isfloat = rule[i].isfloat; }