tremoved temporary wildcard handling - dwm - [fork] customized build of dwm, the dynamic window manager
HTML git clone git://src.adamsgaard.dk/dwm
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 6dfa7cac56d70ebf84a02691d7de1279bf34e223
DIR parent 71681c21a594260604779b96f46d51c82af11a03
HTML Author: Anselm R Garbe <garbeam@gmail.com>
Date: Thu, 15 May 2008 10:51:37 +0100
removed temporary wildcard handling
Diffstat:
M dwm.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
DIR diff --git a/dwm.c b/dwm.c
t@@ -240,7 +240,7 @@ Window root, barwin;
void
applyrules(Client *c) {
- unsigned int i, j;
+ unsigned int i;
Bool matched = False;
Rule *r;
XClassHint ch = { 0 };
t@@ -254,11 +254,7 @@ applyrules(Client *c) {
&& (!r->instance || (ch.res_name && strstr(ch.res_name, r->instance)))) {
c->isfloating = r->isfloating;
if(r->tag) {
- if(r->tag[0] == '*' && r->tag[1] == 0)
- for(j = 0; j < LENGTH(tags); i++)
- c->tags[j] = True;
- else
- c->tags[idxoftag(r->tag)] = True;
+ c->tags[idxoftag(r->tag)] = True;
matched = True;
}
}