mirror of git://git.suckless.org/dwm
applied yiyus applyrules() patch
This commit is contained in:
parent
be39dddcc5
commit
fef4614772
2
dwm.c
2
dwm.c
|
@ -270,7 +270,7 @@ applyrules(Client *c) {
|
||||||
&& (!r->class || (ch.res_class && strstr(ch.res_class, r->class)))
|
&& (!r->class || (ch.res_class && strstr(ch.res_class, r->class)))
|
||||||
&& (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
|
&& (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
|
||||||
c->isfloating = r->isfloating;
|
c->isfloating = r->isfloating;
|
||||||
c->tags |= r->tags & TAGMASK;
|
c->tags |= r->tags & TAGMASK ? r->tags & TAGMASK : tagset[seltags];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(ch.res_class)
|
if(ch.res_class)
|
||||||
|
|
Loading…
Reference in New Issue