commit 9e48c575e4d7eeae37cf31b9749f9c519663749e
parent e90a8151d4a6dcaa745ad2f206df44c4bf8f366b
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 12 Apr 2006 11:39:59 +0200
fixed the * tag issue proposed like Sander did in the mail
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/rule.c b/cmd/wm/rule.c
@@ -139,7 +139,7 @@ apply_rules(Client *c)
match(c, c->classinst);
Fallback:
- if(!strlen(c->tags) || !strncmp(c->tags, "*", 2))
+ if(!strlen(c->tags) || (view.size && !strncmp(c->tags, "*", 2)))
cext_strlcpy(c->tags, "nil", sizeof(c->tags));
}