From: Pedro Alves Date: Wed, 28 Jul 2010 12:01:22 +0000 (+0000) Subject: * tui/tui-win.c (tui_resize_all): Update the locator's origin's X-Git-Tag: sid-snapshot-20100801~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0036e657cbfdb1ddfdfcc926c552c3d710938f78;p=thirdparty%2Fbinutils-gdb.git * tui/tui-win.c (tui_resize_all): Update the locator's origin's coordinates. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bcfb5d5fb17..99a731a1245 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-07-28 Balazs Kezes + + * tui/tui-win.c (tui_resize_all): Update the locator's origin's + coordinates. + 2010-07-28 Balazs Kezes * tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 986dc984480..86b10c03d67 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;