commit d2c66778922818b3e2b340c3500dd5713b21704e
parent 9ade67af99ec87ccd01684665317b8af4b13cc93
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 5 Apr 2006 13:27:12 +0200
added * tag for having clients sticky
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cmd/wm/client.c b/cmd/wm/client.c
@@ -647,7 +647,9 @@ clienthastag(Client *c, const char *t)
{
unsigned int i;
for(i = 0; i < c->ntag; i++)
- if(!strncmp(c->tag[i], t, sizeof(c->tag[i])))
+ if(!strncmp(c->tag[i], t, sizeof(c->tag[i]))
+ || !strncmp(c->tag[i], "*", 2))
+ return True;
return True;
return False;
}