diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-18 13:46:23 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-30 12:57:07 -0600 |
commit | 715bb467feab6e94e01bdf4f5aced092df7398c0 (patch) | |
tree | fec4d3db1e95412ca92dd77bb52797dbd545a3c3 /gdb | |
parent | 772f3f0398b53cdb88cd744132cf7265928c12a0 (diff) | |
download | gdb-715bb467feab6e94e01bdf4f5aced092df7398c0.zip gdb-715bb467feab6e94e01bdf4f5aced092df7398c0.tar.gz gdb-715bb467feab6e94e01bdf4f5aced092df7398c0.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/tui/tui-layout.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4f20a78..2a027a2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 call touchwin. diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c index 7ec704e..df7056a 100644 --- a/gdb/tui/tui-layout.c +++ b/gdb/tui/tui-layout.c @@ -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: |