commit - be39dddcc5bad25e0e1430228e196c3837f1c3e7
commit + fef4614772c222fe5b095f89ddbcc7a5a34904ed
blob - 489ba80a9f82074399060c2df262bf8a608342da
blob + 5d2d5413c6fcc0b220690ad2eeda5d8ccf4b8997
--- dwm.c
+++ dwm.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)