* tui/tui-win.c (tui_resize_all): Update the locator's origin's
authorPedro Alves <palves@redhat.com>
Wed, 28 Jul 2010 12:01:22 +0000 (12:01 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 28 Jul 2010 12:01:22 +0000 (12:01 +0000)
coordinates.

gdb/ChangeLog
gdb/tui/tui-win.c

index bcfb5d5fb17b970bf1c3efd396f7d85f34dc7e9e..99a731a12457ec2109b3c658f51fd277f0c925d5 100644 (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
index 986dc9844806965ca559eb415207d4bf53bbd7b1..86b10c03d6743de79f41f7b6b6ebf7cd8f174a79 100644 (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;