This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 08/15] Don't call touchwin in tui_gen_win_info::refresh_window
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Tue, 20 Aug 2019 20:25:28 -0600
- Subject: [PATCH 08/15] Don't call touchwin in tui_gen_win_info::refresh_window
- References: <20190821022535.9762-1-tom@tromey.com>
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-20 Tom Tromey <tom@tromey.com>
* tui/tui-wingeneral.c (tui_gen_win_info::refresh_window): Don't
call touchwin.
---
gdb/ChangeLog | 5 +++++
gdb/tui/tui-wingeneral.c | 5 +----
2 files changed, 6 insertions(+), 4 deletions(-)
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. */
--
2.17.2