summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindow-activity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/mainwindow-activity.c')
-rw-r--r--src/fe-text/mainwindow-activity.c16
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)