]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't call tui_refresh_all from show_layout
authorTom Tromey <tom@tromey.com>
Thu, 18 Jul 2019 19:46:23 +0000 (13:46 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 30 Aug 2019 18:57:07 +0000 (12:57 -0600)
show_layout calls tui_refresh_all in one case.  However, it doesn't
need to any more, because the resize method on each window will also
update the contents.

gdb/ChangeLog
2019-08-30  Tom Tromey  <tom@tromey.com>

* tui/tui-layout.c (show_layout): Don't call tui_refresh_all.

gdb/ChangeLog
gdb/tui/tui-layout.c

index 4f20a78a8cded1e855ce96e49410d731507719c9..2a027a212db19cc565d9329d4786ceb042f55e1d 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-30  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-layout.c (show_layout): Don't call tui_refresh_all.
+
 2019-08-30  Tom Tromey  <tom@tromey.com>
 
        * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't
index 7ec704e52f077d266c61892eef474be09643679d..df7056ae97b64c5c18f6d9aadd50e38c88a9757b 100644 (file)
@@ -82,7 +82,6 @@ show_layout (enum tui_layout_type layout)
        case SRC_DATA_COMMAND:
        case DISASSEM_DATA_COMMAND:
          show_data (layout);
-         tui_refresh_all ();
          break;
          /* Now show the new layout.  */
        case SRC_COMMAND: