borderwidth as a cwmrc(5) keyword, really helps debugging

from okan@
ok oga@
This commit is contained in:
todd
2009-01-21 15:04:38 +00:00
parent 0548673f2f
commit 1b269199c1
4 changed files with 15 additions and 4 deletions

3
conf.c
View File

@@ -76,6 +76,7 @@ void
conf_init(struct conf *c)
{
c->flags = 0;
c->bwidth = CONF_BWIDTH;
TAILQ_INIT(&c->ignoreq);
TAILQ_INIT(&c->cmdq);
@@ -201,7 +202,7 @@ conf_client(struct client_ctx *cc)
} else
ignore = 1;
cc->bwidth = ignore ? 0 : CLIENT_BWIDTH;
cc->bwidth = ignore ? 0 : Conf.bwidth;
cc->flags |= ignore ? CLIENT_IGNORE : 0;
}