Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
71681c2
)
removed temporary wildcard handling
author
Anselm R Garbe
<garbeam@gmail.com>
Thu, 15 May 2008 09:51:37 +0000
(10:51 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Thu, 15 May 2008 09:51:37 +0000
(10:51 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
b86ba94
..
02c30d4
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-240,7
+240,7
@@
Window root, barwin;
void
applyrules(Client *c) {
void
applyrules(Client *c) {
- unsigned int i, j;
+ unsigned int i;
Bool matched = False;
Rule *r;
XClassHint ch = { 0 };
Bool matched = False;
Rule *r;
XClassHint ch = { 0 };
@@
-254,11
+254,7
@@
applyrules(Client *c) {
&& (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
c->isfloating = r->isfloating;
if(r->tag) {
&& (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
c->isfloating = r->isfloating;
if(r->tag) {
- if(r->tag[0] == '*' && r->tag[1] == 0)
- for(j = 0; j < LENGTH(tags); i++)
- c->tags[j] = True;
- else
- c->tags[idxoftag(r->tag)] = True;
+ c->tags[idxoftag(r->tag)] = True;
matched = True;
}
}
matched = True;
}
}