From: Pedro Alves Date: Wed, 28 Jul 2010 11:56:30 +0000 (+0000) Subject: 2010-07-28 Balazs Kezes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=369003559a4526b4d504d17da211f63b20713a00;p=binutils-gdb.git 2010-07-28 Balazs Kezes * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdd1a6ee325..bcfb5d5fb17 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2010-07-28 Balazs Kezes + + * 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 * configure.ac: Check for resize_term. diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index 4370a7e0c0f..92da76e7904 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -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); diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index d7d5e3934e3..986dc984480 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -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)