aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-17 16:11:40 -0600
committerTom Tromey <tom@tromey.com>2019-08-30 12:57:06 -0600
commit772f3f0398b53cdb88cd744132cf7265928c12a0 (patch)
tree7037b7a9b14c99ac5f2cec600823a9a9baf6c131
parent108e13abdf90acc44b1aba4a0f3ee1d49a0f7934 (diff)
downloadgdb-772f3f0398b53cdb88cd744132cf7265928c12a0.zip
gdb-772f3f0398b53cdb88cd744132cf7265928c12a0.tar.gz
gdb-772f3f0398b53cdb88cd744132cf7265928c12a0.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tui/tui-wingeneral.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9c8299b..4f20a78 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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
win_info->handle cannot be NULL.
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c
index 01f288b..f900eab 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. */