diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tui-win.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 517a6c0..bf35465 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2010-07-28 Balazs Kezes <rlblaster@gmail.com> + * tui/tui-win.c (make_visible_with_new_height): Resize and move + the command window to the new size and position. + +2010-07-28 Balazs Kezes <rlblaster@gmail.com> + * tui/tui-win.c (tui_resize_all): Update the locator's origin's coordinates. diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 86b10c0..bd94fa8 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -1403,6 +1403,12 @@ make_visible_with_new_height (struct tui_win_info *win_info) case CMD_WIN: win_info->detail.command_info.cur_line = 0; win_info->detail.command_info.curch = 0; + wresize (TUI_CMD_WIN->generic.handle, + TUI_CMD_WIN->generic.height, + TUI_CMD_WIN->generic.width); + mvwin (TUI_CMD_WIN->generic.handle, + TUI_CMD_WIN->generic.origin.y, + TUI_CMD_WIN->generic.origin.x); wmove (win_info->generic.handle, win_info->detail.command_info.cur_line, win_info->detail.command_info.curch); |