Don't call tui_refresh_all from show_layout

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.
This commit is contained in:
Tom Tromey 2019-07-18 13:46:23 -06:00
parent 772f3f0398
commit 715bb467fe
2 changed files with 4 additions and 1 deletions

View 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

View 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: