summaryrefslogtreecommitdiff
path: root/src/fe-text/mainwindows.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-15 22:47:51 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-15 22:47:51 +0000
commitae2bb54a42c9efc9050d930d1039f1cf5ee7a72e (patch)
tree9a783cc72273e9de96c64ce88b3c6e1bc367b9d3 /src/fe-text/mainwindows.c
parent0807bafbe8bace7938563ef3d56b74c0d1e96949 (diff)
downloadirssi-ae2bb54a42c9efc9050d930d1039f1cf5ee7a72e.zip
screen resizing fixes when resizeterm() isn't supported
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/mainwindows.c')
-rw-r--r--src/fe-text/mainwindows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index 57d3bc24..8984c120 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -95,7 +95,6 @@ static void mainwindow_resize(MAIN_WINDOW_REC *window, int ychange, int xchange)
signal_emit("mainwindow resized", 1, window);
}
-#ifdef USE_CURSES_WINDOWS
void mainwindows_recreate(void)
{
GSList *tmp;
@@ -103,11 +102,12 @@ void mainwindows_recreate(void)
for (tmp = mainwindows; tmp != NULL; tmp = tmp->next) {
MAIN_WINDOW_REC *rec = tmp->data;
+#ifdef USE_CURSES_WINDOWS
create_curses_window(rec);
+#endif
gui_window_redraw(rec->active);
}
}
-#endif
MAIN_WINDOW_REC *mainwindow_create(void)
{