From 9be77266063c3ef82aeb0dc305d7e82dc517dbff Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 17 May 2009 23:54:17 +0000 Subject: [PATCH] redraw all borders at once on reload "sure" oga@ --- conf.c | 4 ++++ 1 file changed, 4 insertions(+) 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); }