* tui/tui-win.c (tui_resize_all): Update the locator's origin's

coordinates.
This commit is contained in:
Pedro Alves
2010-07-28 12:01:22 +00:00
parent 369003559a
commit 0036e657cb
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-win.c (tui_resize_all): Update the locator's origin's
coordinates.
2010-07-28 Balazs Kezes <rlblaster@gmail.com>
* tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all

View File

@@ -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;