mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
borderwidth as a cwmrc(5) keyword, really helps debugging
from okan@ ok oga@
This commit is contained in:
3
conf.c
3
conf.c
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user