applied yiyus applyrules() patch

master
a@null 2008-12-19 23:41:31 +00:00
parent be39dddcc5
commit fef4614772
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -270,7 +270,7 @@ applyrules(Client *c) {
&& (!r->class || (ch.res_class && strstr(ch.res_class, r->class)))
&& (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
c->isfloating = r->isfloating;
c->tags |= r->tags & TAGMASK;
c->tags |= r->tags & TAGMASK ? r->tags & TAGMASK : tagset[seltags];
}
}
if(ch.res_class)