aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-decl.c
diff options
context:
space:
mode:
authorHannes Domani <ssbssa@yahoo.de>2020-12-21 14:26:29 +0100
committerHannes Domani <ssbssa@yahoo.de>2021-01-05 14:08:26 +0100
commit5519536196e670c3c0fb2b138acc44049227e724 (patch)
tree0fc0eb0f75778e15aaa627140d618dcbebe6fd9e /libctf/ctf-decl.c
parent1b6d4bb2232ff9fd692a332a491b95b5f4052dfe (diff)
downloadgdb-5519536196e670c3c0fb2b138acc44049227e724.zip
gdb-5519536196e670c3c0fb2b138acc44049227e724.tar.gz
gdb-5519536196e670c3c0fb2b138acc44049227e724.tar.bz2
Prevent flickering when redrawing the TUI source window
tui_win_info::refresh_window simply calls wrefresh, which internally does a doupdate. This redraws the source background window without the source pad. Then prefresh of the source pad draws the actual source code on top, which flickers. By changing this to wnoutrefresh, the actual drawing on the screen is only done once in the following prefresh, without flickering. gdb/ChangeLog: 2021-01-05 Hannes Domani <ssbssa@yahoo.de> * tui/tui-winsource.c (tui_source_window_base::refresh_window): Call wnoutrefresh instead of tui_win_info::refresh_window.
Diffstat (limited to 'libctf/ctf-decl.c')
0 files changed, 0 insertions, 0 deletions