projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7315bb0
)
hotfix of settags
author
arg@10ksloc.org
<unknown>
Thu, 3 Aug 2006 09:38:26 +0000
(11:38 +0200)
committer
arg@10ksloc.org
<unknown>
Thu, 3 Aug 2006 09:38:26 +0000
(11:38 +0200)
tag.c
patch
|
blob
|
history
diff --git
a/tag.c
b/tag.c
index 448ed2a880ab99a75155d744b3708d73160b1625..90223717a5d19e7c7a0384c707e0e49c9fa42f89 100644
(file)
--- 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;
}