mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
on reload, run each client through conf_client to pick up potential
ignore and bwidth changes; also add a hack for existing maximized windows so they don't inherit a new bwidth. based on a diff from, and discussion with, Tiago Cunha.
This commit is contained in:
parent
56358be755
commit
c256052308
7
conf.c
7
conf.c
@ -104,8 +104,13 @@ conf_reload(struct conf *c)
|
|||||||
conf_font(c, sc);
|
conf_font(c, sc);
|
||||||
menu_init(sc);
|
menu_init(sc);
|
||||||
}
|
}
|
||||||
TAILQ_FOREACH(cc, &Clientq, entry)
|
TAILQ_FOREACH(cc, &Clientq, entry) {
|
||||||
|
conf_client(cc);
|
||||||
|
/* XXX Does not take hmax/vmax into account. */
|
||||||
|
if ((cc->flags & CLIENT_MAXFLAGS) == CLIENT_MAXIMIZED)
|
||||||
|
cc->bwidth = 0;
|
||||||
client_draw_border(cc);
|
client_draw_border(cc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user