diff options
author | a@null <unknown> | 2008-12-19 23:41:31 +0000 |
---|---|---|
committer | a@null <unknown> | 2008-12-19 23:41:31 +0000 |
commit | fef4614772c222fe5b095f89ddbcc7a5a34904ed (patch) | |
tree | 966f8845f7d35d35c624fdd65beeacbb8fc327cc | |
parent | be39dddcc5bad25e0e1430228e196c3837f1c3e7 (diff) | |
download | dwm-fef4614772c222fe5b095f89ddbcc7a5a34904ed.tar.gz |
applied yiyus applyrules() patch
-rw-r--r-- | dwm.c | 2 |
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) { && (!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) |