diff options
author | okan <okan> | 2018-11-13 17:37:13 +0000 |
---|---|---|
committer | okan <okan> | 2018-11-13 17:37:13 +0000 |
commit | 194589eb6bfd9d44d2c595035475af14644350c1 (patch) | |
tree | 3778f5aee4ff4e6a5d5c619b97ed0be99ea4809e /conf.c | |
parent | 268deed916cd217b39568809d520f9d4515abdac (diff) | |
download | cwm-194589eb6bfd9d44d2c595035475af14644350c1.tar.gz cwm-194589eb6bfd9d44d2c595035475af14644350c1.tar.xz cwm-194589eb6bfd9d44d2c595035475af14644350c1.zip |
Allow 'transientfor' clients to inherit group and bwidth either during init or
via property notify events. Previously only the flags were set but nothing was in the path to apply said flags and/or bwidth. Required slight of re-orgnaization of client_init.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/conf.c b/conf.c index b77425c..b18dc4a 100644 --- a/conf.c +++ b/conf.c @@ -434,16 +434,13 @@ void conf_client(struct client_ctx *cc) { struct winname *wn; - int ignore = 0; TAILQ_FOREACH(wn, &Conf.ignoreq, entry) { if (strncasecmp(wn->name, cc->name, strlen(wn->name)) == 0) { - ignore = 1; + cc->flags |= CLIENT_IGNORE; break; } } - cc->bwidth = (ignore) ? 0 : Conf.bwidth; - cc->flags |= (ignore) ? CLIENT_IGNORE : 0; } void |