diff options
author | James Booth <boothj5@gmail.com> | 2013-08-30 00:49:38 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-08-30 00:49:38 +0100 |
commit | 4ae817cd8292f964ef1c45bfa3b70544ce23043f (patch) | |
tree | 935f88f5ddcace492c40ab8386ac5d92a26dda19 /src/ui/statusbar.c | |
parent | 7f476b3e2cb4739adb6b5ea02a9b86f19637b819 (diff) | |
download | profani-tty-4ae817cd8292f964ef1c45bfa3b70544ce23043f.tar.gz |
Fixed ">" indicator when tidying windows
Diffstat (limited to 'src/ui/statusbar.c')
-rw-r--r-- | src/ui/statusbar.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ui/statusbar.c b/src/ui/statusbar.c index e4d61811..e7456adc 100644 --- a/src/ui/statusbar.c +++ b/src/ui/statusbar.c @@ -130,6 +130,20 @@ status_bar_resize(void) } void +status_bar_set_all_inactive(void) +{ + int i = 0; + for (i = 0; i < 12; i++) { + is_active[i] = FALSE; + is_new[i] = FALSE; + _mark_inactive(i); + } + + g_hash_table_remove_all(remaining_active); + g_hash_table_remove_all(remaining_new); +} + +void status_bar_inactive(const int win) { int true_win = win; |