aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-07-28 12:01:22 +0000
committerPedro Alves <palves@redhat.com>2010-07-28 12:01:22 +0000
commit0036e657cbfdb1ddfdfcc926c552c3d710938f78 (patch)
tree1756a336659d3c8819bbf61fca1cb4fbc1900110 /gdb/tui
parent369003559a4526b4d504d17da211f63b20713a00 (diff)
downloadgdb-0036e657cbfdb1ddfdfcc926c552c3d710938f78.zip
gdb-0036e657cbfdb1ddfdfcc926c552c3d710938f78.tar.gz
gdb-0036e657cbfdb1ddfdfcc926c552c3d710938f78.tar.bz2
* tui/tui-win.c (tui_resize_all): Update the locator's origin's
coordinates.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index 986dc98..86b10c0 100644
--- a/gdb/tui/tui-win.c
+++ b/gdb/tui/tui-win.c
@@ -712,6 +712,7 @@ tui_resize_all (void)
else
new_height = first_win->generic.height + split_diff;
+ locator->origin.y = new_height + 1;
make_invisible_and_set_new_height (first_win, new_height);
TUI_CMD_WIN->generic.origin.y = locator->origin.y + 1;
TUI_CMD_WIN->generic.width += width_diff;