summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-10-15 18:04:06 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-10-15 18:04:06 +0000
commit228c1d7f366c0d103b00188a7945797068e4c741 (patch)
treeb1a3bb8817a98d87047e30d332b3752e14f73005 /src/fe-text
parent6e0d956f3d85bff6eab9c240b1d4bba4b2a5e79c (diff)
downloadirssi-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.c8
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;
}