From 369003559a4526b4d504d17da211f63b20713a00 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 28 Jul 2010 11:56:30 +0000 Subject: 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. --- gdb/ChangeLog | 7 +++++++ gdb/tui/tui-io.c | 1 + gdb/tui/tui-win.c | 1 - 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdd1a6e..bcfb5d5 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 4370a7e..92da76e 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 d7d5e39..986dc98 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) -- cgit v1.1