Don't call touchwin in tui_gen_win_info::refresh_window
authorTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 22:11:40 +0000 (16:11 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 30 Aug 2019 18:57:06 +0000 (12:57 -0600)
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.

gdb/ChangeLog
gdb/tui/tui-wingeneral.c

index 9c8299b93f9adf318a50888920d3269ab8c4b011..4f20a78a8cded1e855ce96e49410d731507719c9 100644 (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
index 01f288be862a18291a85a14ede955fd8daa61b7d..f900eab0133cf28394de75f904611845d3d3c618 100644 (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.  */