From: Tom Tromey Date: Wed, 17 Jul 2019 22:11:40 +0000 (-0600) Subject: Don't call touchwin in tui_gen_win_info::refresh_window X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=772f3f0398b53cdb88cd744132cf7265928c12a0;p=binutils-gdb.git Don't call touchwin in tui_gen_win_info::refresh_window The call to touchwin in tui_gen_win_info::refresh_window was an artifact of some earlier refactorings. Testing shows it isn't needed any more -- I believe it was only ever needed for the data item window display problem; but that's been solved more locally. gdb/ChangeLog 2019-08-30 Tom Tromey * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't call touchwin. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c8299b93f9..4f20a78a8cd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-08-30 Tom Tromey + + * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't + call touchwin. + 2019-08-30 Tom Tromey * tui/tui-wingeneral.c (box_win): Assume win_info and diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 01f288be862..f900eab0133 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -38,10 +38,7 @@ void tui_gen_win_info::refresh_window () { if (handle != NULL) - { - touchwin (handle); - wrefresh (handle); - } + wrefresh (handle); } /* Function to delete the curses window, checking for NULL. */