2010-07-28 Balazs Kezes <rlblaster@gmail.com>
authorPedro Alves <palves@redhat.com>
Wed, 28 Jul 2010 11:56:30 +0000 (11:56 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 28 Jul 2010 11:56:30 +0000 (11:56 +0000)
        * 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
call.

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

index bdd1a6ee325fd39436626199c6f3c2558f0c84be..bcfb5d5fb17b970bf1c3efd396f7d85f34dc7e9e 100644 (file)
@@ -1,3 +1,10 @@
+2010-07-28  Balazs Kezes  <rlblaster@gmail.com>
+
+        * 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
+       call.
+
 2010-07-28  Pedro Alves  <pedro@codesourcery.com>
 
        * configure.ac: Check for resize_term.
index 4370a7e0c0fb3205e12df5031e1b392642723537..92da76e790452c077cfb0c904bbb45ca3b7fcc81 100644 (file)
@@ -711,6 +711,7 @@ tui_handle_resize_during_io (unsigned int original_ch)
 {
   if (tui_win_resized ())
     {
+      tui_resize_all ();
       tui_refresh_all_win ();
       dont_repeat ();
       tui_set_win_resized_to (FALSE);
index d7d5e3934e31c741e1a7c21655c3c70351f16bf5..986dc9844806965ca559eb415207d4bf53bbd7b1 100644 (file)
@@ -799,7 +799,6 @@ tui_resize_all (void)
              tui_win_list[win_type] = (struct tui_win_info *) NULL;
            }
        }
-      tui_set_win_resized_to (TRUE);
       /* Turn keypad back on, unless focus is in the command
         window.  */
       if (win_with_focus != TUI_CMD_WIN)