summaryrefslogtreecommitdiff
path: root/src/fe-text/irssi.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-08-12 16:40:39 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-08-12 16:40:39 +0000
commit9e5926c2072422513ccb61af542bb1986608aed1 (patch)
tree605c7be5e0329256c2abd2886194e1b27c81a4f0 /src/fe-text/irssi.c
parent6675cec4599216f3b5942cbd83b48dd41b8c7f01 (diff)
downloadirssi-9e5926c2072422513ccb61af542bb1986608aed1.zip
Don't trigger window activity if window is already visible in some
other split window. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@592 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r--src/fe-text/irssi.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 287a254b..9a014c60 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -43,6 +43,9 @@
void irc_init(void);
void irc_deinit(void);
+void mainwindow_activity_init(void);
+void mainwindow_activity_deinit(void);
+
#ifdef HAVE_PERL
void irssi_perl_init(void);
void irssi_perl_deinit(void);
@@ -82,7 +85,6 @@ static void textui_init(void)
irssi_gui = IRSSI_GUI_TEXT;
core_init();
irc_init();
- //silc_init();
fe_common_core_init();
fe_common_irc_init();
@@ -101,6 +103,7 @@ static void textui_finish_init(void)
gui_special_vars_init();
gui_textwidget_init();
mainwindows_init();
+ mainwindow_activity_init();
gui_windows_init();
statusbar_init();
@@ -129,6 +132,7 @@ static void textui_deinit(void)
gui_printtext_deinit();
gui_readline_deinit();
gui_windows_deinit();
+ mainwindow_activity_deinit();
mainwindows_deinit();
gui_entry_deinit();
deinit_screen();