public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Don't call touchwin in tui_gen_win_info::refresh_window
@ 2019-08-30 19:08 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-08-30 19:08 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=772f3f0398b53cdb88cd744132cf7265928c12a0
commit 772f3f0398b53cdb88cd744132cf7265928c12a0
Author: Tom Tromey <tom@tromey.com>
Date: Wed Jul 17 16:11:40 2019 -0600
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.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/tui/tui-wingeneral.c | 5 +----
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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-30 19:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30 19:08 [binutils-gdb] Don't call touchwin in tui_gen_win_info::refresh_window Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).