[hackers] [dwm] applied yiyus applyrules() patch || a

From: <hg_AT_suckless.org>
Date: Fri, 19 Dec 2008 23:56:07 +0000 (UTC)

changeset: 1377:d10040d81ef8
user: a_AT_null
date: Fri Dec 19 23:41:31 2008 +0000
files: dwm.c
description:
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)
Received on Fri Dec 19 2008 - 23:56:07 UTC

This archive was generated by hypermail 2.2.0 : Sat Dec 20 2008 - 00:00:05 UTC