diff options
author | Thomas Adam <thomas@xteddy.org> | 2012-11-27 18:12:04 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2012-11-27 18:12:04 +0000 |
commit | 39631edb98a542be53fce6f1eeef41880c9a76b4 (patch) | |
tree | c25708a37d4c79d1dbbc89a91d34296df689d934 /status.c | |
parent | 1bc910a963ab3c39a03ed3e6b4795c6b5d5b6d18 (diff) | |
parent | 9b8998aeec9c4dff695ae4108965677d90d9c9c7 (diff) | |
download | rtmux-39631edb98a542be53fce6f1eeef41880c9a76b4.tar.gz rtmux-39631edb98a542be53fce6f1eeef41880c9a76b4.tar.bz2 rtmux-39631edb98a542be53fce6f1eeef41880c9a76b4.zip |
Merge branch 'obsd-master'
Sync from OpenBSD.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -705,6 +705,17 @@ status_print( gc->attr = attr; fmt = options_get_string(oo, "window-status-current-format"); } + if (wl == TAILQ_FIRST(&s->lastw)) { + fg = options_get_number(oo, "window-status-last-fg"); + if (fg != 8) + colour_set_fg(gc, fg); + bg = options_get_number(oo, "window-status-last-bg"); + if (bg != 8) + colour_set_bg(gc, bg); + attr = options_get_number(oo, "window-status-last-attr"); + if (attr != 0) + gc->attr = attr; + } if (wl->flags & WINLINK_BELL) { fg = options_get_number(oo, "window-status-bell-fg"); |