diff options
author | Pedro Alves <palves@redhat.com> | 2010-07-28 11:56:30 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-07-28 11:56:30 +0000 |
commit | 369003559a4526b4d504d17da211f63b20713a00 (patch) | |
tree | b5fe7eabebb28499a52296e4e4edda93bdf1326d /gdb/tui | |
parent | db5e03ae671bcb204e7373850d4911a267baa8cd (diff) | |
download | fsf-binutils-gdb-369003559a4526b4d504d17da211f63b20713a00.zip fsf-binutils-gdb-369003559a4526b4d504d17da211f63b20713a00.tar.gz fsf-binutils-gdb-369003559a4526b4d504d17da211f63b20713a00.tar.bz2 |
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.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-io.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-win.c | 1 |
2 files changed, 1 insertions, 1 deletions
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) |