1
0
mirror of git://git.suckless.org/dwm synced 2024-12-19 13:40:33 +00:00

hotfix of settags

This commit is contained in:
arg@10ksloc.org 2006-08-03 11:38:26 +02:00
parent 7315bb08ad
commit 666b4563a0

3
tag.c
View File

@ -169,9 +169,8 @@ settags(Client *c)
if(!regcomp(&regex, rule[i].pattern, 0)) {
if(!regexec(&regex, 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;
}