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  <tom@tromey.com>

	* tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't
	call touchwin.
This commit is contained in:
Tom Tromey 2019-07-17 16:11:40 -06:00
parent 108e13abdf
commit 772f3f0398
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2019-08-30 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't
call touchwin.
2019-08-30 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (box_win): Assume win_info and

View File

@ -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. */