- allow per-screen gap; not (yet) user configurable.

- teach _NET_WORKAREA about gap.

ok oga@
This commit is contained in:
okan
2010-01-27 03:04:50 +00:00
parent ccb207a8a8
commit e88bda0df5
6 changed files with 47 additions and 32 deletions

7
conf.c
View File

@@ -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);
}