diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-23 22:12:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-23 22:12:29 +0000 |
commit | b69f4a3312a375fb9b19733e8f347f0f9a36d431 (patch) | |
tree | 860d5439b11342057e84b6e78563b8b25536a4a8 /status.c | |
parent | e704d6aee2b9e8864589d1960ac15726bb0cd35c (diff) | |
download | rtmux-b69f4a3312a375fb9b19733e8f347f0f9a36d431.tar.gz rtmux-b69f4a3312a375fb9b19733e8f347f0f9a36d431.tar.bz2 rtmux-b69f4a3312a375fb9b19733e8f347f0f9a36d431.zip |
Split internal status-colour into status-fg/status-bg options and lose workarounds in set-option stuff.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 <nicm@users.sourceforge.net> @@ -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) |