From b69f4a3312a375fb9b19733e8f347f0f9a36d431 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 23 Jun 2008 22:12:29 +0000 Subject: Split internal status-colour into status-fg/status-bg options and lose workarounds in set-option stuff. --- status.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index 2a880eaf..7efb0627 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.40 2008-06-23 21:54:48 nicm Exp $ */ +/* $Id: status.c,v 1.41 2008-06-23 22:12:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -48,7 +48,8 @@ status_redraw(struct client *c) if (clock_gettime(CLOCK_REALTIME, &c->status_timer) != 0) fatal("clock_gettime failed"); - colr = options_get_number(&s->options, "status-colour"); + colr = options_get_number(&s->options, "status-bg") + + (options_get_number(&s->options, "status-fg") << 4); yy = c->sy - 1; if (yy == 0) -- cgit