mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
d256f71a00
commit
c5832fdc56
@ -24,22 +24,25 @@
|
|||||||
#include "fe-windows.h"
|
#include "fe-windows.h"
|
||||||
#include "gui-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)
|
static void sig_activity(WINDOW_REC *window)
|
||||||
{
|
{
|
||||||
/*GSList *tmp;
|
GSList *tmp;
|
||||||
|
|
||||||
if (!is_window_visible(window) || window->data_level == 0)
|
if (!is_window_visible(window) || window->data_level == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
window->new_data = 0;
|
window->data_level = 0;
|
||||||
|
window->hilight_color = 0;
|
||||||
|
|
||||||
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
|
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
|
||||||
WI_ITEM_REC *item = tmp->data;
|
WI_ITEM_REC *item = tmp->data;
|
||||||
|
|
||||||
item->new_data = 0;
|
item->data_level = 0;
|
||||||
item->last_color = 0;
|
item->hilight_color = 0;
|
||||||
}
|
}
|
||||||
signal_stop();*/
|
signal_stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
void mainwindow_activity_init(void)
|
void mainwindow_activity_init(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user