screen resizing fixes when resizeterm() isn't supported

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1123 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-15 22:47:51 +00:00 committed by cras
commit ae2bb54a42
2 changed files with 34 additions and 17 deletions

View file

@ -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)
{