From 0036e657cbfdb1ddfdfcc926c552c3d710938f78 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 28 Jul 2010 12:01:22 +0000 Subject: [PATCH] * tui/tui-win.c (tui_resize_all): Update the locator's origin's coordinates. --- gdb/ChangeLog | 5 +++++ gdb/tui/tui-win.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bcfb5d5..99a731a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 after a detecting a resize. * tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to 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; -- 2.7.4