diff options
author | okan | 2010-01-27 03:04:50 +0000 |
---|---|---|
committer | okan | 2010-01-27 03:04:50 +0000 |
commit | cf907fa95c4a6c1fa13ad717089fa5d0cb099350 (patch) | |
tree | 6b333345d88e56bcf35f7f67aee73831f5790560 /conf.c | |
parent | fb3ff22ef266df7aab2945a994a190f507cdfc51 (diff) | |
download | cwm-cf907fa95c4a6c1fa13ad717089fa5d0cb099350.tar.gz |
- allow per-screen gap; not (yet) user configurable.
- teach _NET_WORKAREA about gap.
ok oga@
Diffstat (limited to '')
-rw-r--r-- | conf.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: conf.c,v 1.75 2009/12/15 04:10:42 okan Exp $ + * $Id: conf.c,v 1.76 2010/01/27 03:04:50 okan Exp $ */ #include <sys/param.h> @@ -61,6 +61,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) { sc->font = font_make(sc, c->DefaultFontName); @@ -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); } |