2010-07-28 Balazs Kezes <rlblaster@gmail.com>

* tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all
	after a detecting a resize.
        * tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to
	call.
This commit is contained in:
Pedro Alves 2010-07-28 11:56:30 +00:00
parent db5e03ae67
commit 369003559a
3 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all
after a detecting a resize.
* tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to
call.
2010-07-28 Pedro Alves <pedro@codesourcery.com>
* configure.ac: Check for resize_term.

View file

@ -711,6 +711,7 @@ tui_handle_resize_during_io (unsigned int original_ch)
{
if (tui_win_resized ())
{
tui_resize_all ();
tui_refresh_all_win ();
dont_repeat ();
tui_set_win_resized_to (FALSE);

View file

@ -799,7 +799,6 @@ tui_resize_all (void)
tui_win_list[win_type] = (struct tui_win_info *) NULL;
}
}
tui_set_win_resized_to (TRUE);
/* Turn keypad back on, unless focus is in the command
window. */
if (win_with_focus != TUI_CMD_WIN)