tapplied yiyus applyrules() patch - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fef4614772c222fe5b095f89ddbcc7a5a34904ed
(DIR) parent be39dddcc5bad25e0e1430228e196c3837f1c3e7
(HTM) Author: a@null <unknown>
Date: Fri, 19 Dec 2008 23:41:31 +0000
applied yiyus applyrules() patch
Diffstat:
M dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/dwm.c b/dwm.c
t@@ -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)