diff options
author | Timo Sirainen <cras@irssi.org> | 2000-08-12 23:51:53 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-08-12 23:51:53 +0000 |
commit | 9fe81dcaf05588e7fa29b2e66c7498841667b191 (patch) | |
tree | 568709cd2ba1f2a736b75984b1b15164763a0680 /src/fe-text | |
parent | 98b037ac71ea253cb4cfe806bf3b524cd87de1bc (diff) | |
download | irssi-9fe81dcaf05588e7fa29b2e66c7498841667b191.zip |
bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@595 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/mainwindow-activity.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/fe-text/mainwindow-activity.c b/src/fe-text/mainwindow-activity.c index 2e801d71..537bb6dd 100644 --- a/src/fe-text/mainwindow-activity.c +++ b/src/fe-text/mainwindow-activity.c @@ -26,8 +26,20 @@ static void sig_activity(WINDOW_REC *window) { - if (is_window_visible(window)) - signal_stop(); + GSList *tmp; + + if (!is_window_visible(window) || window->new_data == 0) + return; + + window->new_data = 0; + + for (tmp = window->items; tmp != NULL; tmp = tmp->next) { + WI_ITEM_REC *item = tmp->data; + + item->new_data = 0; + item->last_color = 0; + } + signal_stop(); } void mainwindow_activity_init(void) |