Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
7315bb0
)
hotfix of settags
author
[email protected]
<unknown>
Thu, 3 Aug 2006 09:38:26 +0000
(11:38 +0200)
committer
[email protected]
<unknown>
Thu, 3 Aug 2006 09:38:26 +0000
(11:38 +0200)
tag.c
diff
|
blob
|
history
diff --git
a/tag.c
b/tag.c
index
448ed2a
..
9022371
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(!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;
matched = True;
- c->tags[j] = True;
}
c->isfloat = rule[i].isfloat;
}
}
c->isfloat = rule[i].isfloat;
}