[09/15] Don't call tui_refresh_all from show_layout
Commit Message
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-20 Tom Tromey <tom@tromey.com>
* tui/tui-layout.c (show_layout): Don't call tui_refresh_all.
---
gdb/ChangeLog | 4 ++++
gdb/tui/tui-layout.c | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
@@ -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: