diff options
author | Timo Sirainen <cras@irssi.org> | 2000-10-15 18:04:06 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-10-15 18:04:06 +0000 |
commit | 228c1d7f366c0d103b00188a7945797068e4c741 (patch) | |
tree | b1a3bb8817a98d87047e30d332b3752e14f73005 /src/fe-text | |
parent | 6e0d956f3d85bff6eab9c240b1d4bba4b2a5e79c (diff) | |
download | irssi-228c1d7f366c0d103b00188a7945797068e4c741.zip |
Some hilight+window activity related fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@761 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/statusbar-items.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c index 47639426..37c060dc 100644 --- a/src/fe-text/statusbar-items.c +++ b/src/fe-text/statusbar-items.c @@ -433,10 +433,12 @@ static void sig_statusbar_activity_hilight(WINDOW_REC *window, gpointer oldlevel activity_list = g_list_remove(activity_list, window); statusbar_item_redraw(activity_item); } - else if (window->new_data != GPOINTER_TO_INT(oldlevel)) + else if (window->new_data != GPOINTER_TO_INT(oldlevel) || + window->last_color != 0) { - /* different level as last time, just redraw it. */ - statusbar_item_redraw(activity_item); + /* different level as last time (or maybe different + hilight color?), just redraw it. */ + statusbar_item_redraw(activity_item); } return; } |