From 228c1d7f366c0d103b00188a7945797068e4c741 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 15 Oct 2000 18:04:06 +0000 Subject: Some hilight+window activity related fixes git-svn-id: http://svn.irssi.org/repos/irssi/trunk@761 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/statusbar-items.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/fe-text') 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; } -- cgit v1.2.3