# HG changeset patch # User a@null # Date 1229730091 0 # Node ID d10040d81ef86041f9ffe8d2920d367493364bf3 # Parent 9b2b792dce121a7ea537bc491d51f1ffb68a3aa6 applied yiyus applyrules() patch diff -r 9b2b792dce12 -r d10040d81ef8 dwm.c --- a/dwm.c Wed Dec 17 21:25:32 2008 +0000 +++ b/dwm.c Fri Dec 19 23:41:31 2008 +0000 @@ -270,7 +270,7 @@ && (!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)