mirror of git://git.suckless.org/dwm
removed temporary wildcard handling
This commit is contained in:
parent
71681c21a5
commit
6dfa7cac56
6
dwm.c
6
dwm.c
|
@ -240,7 +240,7 @@ Window root, barwin;
|
|||
|
||||
void
|
||||
applyrules(Client *c) {
|
||||
unsigned int i, j;
|
||||
unsigned int i;
|
||||
Bool matched = False;
|
||||
Rule *r;
|
||||
XClassHint ch = { 0 };
|
||||
|
@ -254,10 +254,6 @@ applyrules(Client *c) {
|
|||
&& (!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;
|
||||
matched = True;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue