summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-03 11:38:26 +0200
committerarg@10ksloc.org <unknown>2006-08-03 11:38:26 +0200
commit666b4563a0064dd7aa27159813124837d306f81c (patch)
tree9d80d0913b331f59a264e85cd39c5b5735294eca /tag.c
parentusing SRC instead of *.c (diff)
downloaddwm-666b4563a0064dd7aa27159813124837d306f81c.tar.gz
dwm-666b4563a0064dd7aa27159813124837d306f81c.zip
hotfix of settags
Diffstat (limited to '')
-rw-r--r--tag.c3
1 files changed, 1 insertions, 2 deletions
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)
169 if(!regcomp(&regex, rule[i].pattern, 0)) { 169 if(!regcomp(&regex, rule[i].pattern, 0)) {
170 if(!regexec(&regex, classinst, 1, &tmp, 0)) { 170 if(!regexec(&regex, classinst, 1, &tmp, 0)) {
171 for(j = 0; j < TLast; j++) { 171 for(j = 0; j < TLast; j++) {
172 if(rule[i].tags[j]) 172 if((c->tags[j] = rule[i].tags[j]))
173 matched = True; 173 matched = True;
174 c->tags[j] = True;
175 } 174 }
176 c->isfloat = rule[i].isfloat; 175 c->isfloat = rule[i].isfloat;
177 } 176 }