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:
parent
772f3f0398
commit
715bb467fe
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue