summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-09 21:29:00 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-09 21:29:00 +0000
commitc5832fdc56362afeb75950ffc9077170140afd9f (patch)
tree88ff203224f4004165260a7f944fc96851e6b4b0 /src
parentd256f71a004e56578c6b45287c7d3f53574e4f0d (diff)
downloadirssi-c5832fdc56362afeb75950ffc9077170140afd9f.zip
Fixed, added comment what it does so I wouldn't forget again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1099 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/mainwindow-activity.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/fe-text/mainwindow-activity.c b/src/fe-text/mainwindow-activity.c
index cfee615a..3291c322 100644
--- a/src/fe-text/mainwindow-activity.c
+++ b/src/fe-text/mainwindow-activity.c
@@ -24,22 +24,25 @@
#include "fe-windows.h"
#include "gui-windows.h"
+/* Don't send window activity if window is already visible in
+ another mainwindow */
static void sig_activity(WINDOW_REC *window)
{
- /*GSList *tmp;
+ GSList *tmp;
if (!is_window_visible(window) || window->data_level == 0)
return;
- window->new_data = 0;
+ window->data_level = 0;
+ window->hilight_color = 0;
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
WI_ITEM_REC *item = tmp->data;
- item->new_data = 0;
- item->last_color = 0;
+ item->data_level = 0;
+ item->hilight_color = 0;
}
- signal_stop();*/
+ signal_stop();
}
void mainwindow_activity_init(void)