diff options
author | todd | 2009-01-21 15:04:38 +0000 |
---|---|---|
committer | todd | 2009-01-21 15:04:38 +0000 |
commit | 24a656d337d28ac3784e1e9abe0f21187f240764 (patch) | |
tree | 3dabd271cb5402c4838bbf546adc2afc66a167fa /conf.c | |
parent | 02245bb4600c5570550f017affc64e992d4021d8 (diff) | |
download | cwm-24a656d337d28ac3784e1e9abe0f21187f240764.tar.gz |
borderwidth as a cwmrc(5) keyword, really helps debugging
from okan@
ok oga@
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: conf.c,v 1.52 2009/01/16 15:24:14 okan Exp $ + * $Id: conf.c,v 1.53 2009/01/21 15:04:38 todd Exp $ */ #include "headers.h" @@ -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; } |