diff options
author | okan <okan> | 2009-05-17 23:54:17 +0000 |
---|---|---|
committer | okan <okan> | 2009-05-17 23:54:17 +0000 |
commit | 9be77266063c3ef82aeb0dc305d7e82dc517dbff (patch) | |
tree | b152ea8379f39428dbb37f401fea93fb441a1ead | |
parent | 4d5dc5d9ea24d1b856c8b8c13c36a16daa396a4d (diff) | |
download | cwm-9be77266063c3ef82aeb0dc305d7e82dc517dbff.tar.gz cwm-9be77266063c3ef82aeb0dc305d7e82dc517dbff.tar.xz cwm-9be77266063c3ef82aeb0dc305d7e82dc517dbff.zip |
redraw all borders at once on reload
"sure" oga@
-rw-r--r-- | conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.c b/conf.c index bd7deb1..fb52cc1 100644 --- a/conf.c +++ b/conf.c @@ -79,12 +79,16 @@ conf_color(struct conf *c) void conf_reload(struct conf *c) { + struct client_ctx *cc; + if (parse_config(c->conf_path, c) == -1) { warnx("config file %s has errors, not reloading", c->conf_path); return; } conf_color(c); + TAILQ_FOREACH(cc, &Clientq, entry) + client_draw_border(cc); conf_font(c); } |