- allow per-screen gap; not (yet) user configurable.
- teach _NET_WORKAREA about gap. ok oga@
This commit is contained in:
7
conf.c
7
conf.c
@@ -60,6 +60,12 @@ conf_cmd_add(struct conf *c, char *image, char *label, int flags)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
conf_gap(struct conf *c, struct screen_ctx *sc)
|
||||
{
|
||||
sc->gap = c->gap;
|
||||
}
|
||||
|
||||
void
|
||||
conf_font(struct conf *c, struct screen_ctx *sc)
|
||||
{
|
||||
@@ -92,6 +98,7 @@ conf_reload(struct conf *c)
|
||||
TAILQ_FOREACH(cc, &Clientq, entry)
|
||||
client_draw_border(cc);
|
||||
TAILQ_FOREACH(sc, &Screenq, entry) {
|
||||
conf_gap(c, sc);
|
||||
conf_color(c, sc);
|
||||
conf_font(c, sc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user