summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authora@null <unknown>2008-12-19 23:41:31 +0000
committera@null <unknown>2008-12-19 23:41:31 +0000
commitfef4614772c222fe5b095f89ddbcc7a5a34904ed (patch)
tree966f8845f7d35d35c624fdd65beeacbb8fc327cc /dwm.c
parentimplemented noborder for 1 client in the view (diff)
downloaddwm-fef4614772c222fe5b095f89ddbcc7a5a34904ed.tar.gz
dwm-fef4614772c222fe5b095f89ddbcc7a5a34904ed.zip
applied yiyus applyrules() patch
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 489ba80..5d2d541 100644
--- a/dwm.c
+++ b/dwm.c
@@ -270,7 +270,7 @@ applyrules(Client *c) {
270 && (!r->class || (ch.res_class && strstr(ch.res_class, r->class))) 270 && (!r->class || (ch.res_class && strstr(ch.res_class, r->class)))
271 && (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) { 271 && (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
272 c->isfloating = r->isfloating; 272 c->isfloating = r->isfloating;
273 c->tags |= r->tags & TAGMASK; 273 c->tags |= r->tags & TAGMASK ? r->tags & TAGMASK : tagset[seltags];
274 } 274 }
275 } 275 }
276 if(ch.res_class) 276 if(ch.res_class)