mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
redraw all borders at once on reload
"sure" oga@
This commit is contained in:
parent
4d5dc5d9ea
commit
9be7726606
4
conf.c
4
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user