This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Correct origin calculation of command line window in TUI mode
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Balazs Kezes <rlblaster at gmail dot com>
- Date: Wed, 28 Jul 2010 13:03:27 +0100
- Subject: Re: [patch] Correct origin calculation of command line window in TUI mode
- References: <AANLkTinPbUoACc9Pd481aBX-Zif6wMsdNhreobbXPk2c@mail.gmail.com>
Applied, thanks!
--
Pedro Alves
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-win.c (tui_resize_all): Update the locator's origin's
coordinates.
---
gdb/tui/tui-win.c | 1 +
1 file changed, 1 insertion(+)
Index: src/gdb/tui/tui-win.c
===================================================================
--- src.orig/gdb/tui/tui-win.c 2010-07-27 15:30:34.000000000 +0100
+++ src/gdb/tui/tui-win.c 2010-07-27 15:34:34.000000000 +0100
@@ -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;