applied yiyus applyrules() patch
authora@null
Fri, 19 Dec 2008 23:41:31 +0000
changeset 1377 d10040d81ef8
parent 1376 9b2b792dce12
child 1378 39214fe5de67
applied yiyus applyrules() patch
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)