Re-highlight windows when needed during TUI startup
authorTom Tromey <tom@tromey.com>
Sun, 10 Nov 2019 16:11:42 +0000 (09:11 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 1 Dec 2019 18:59:24 +0000 (11:59 -0700)
commit484c9b643c206edf636d15aad1cf618e515350b7
treeb3921f76a96be3b505556611a82031de641f6233
parenta2a7af0c33869f08a999d5d1b301017138cbeb7a
Re-highlight windows when needed during TUI startup

I noticed that "tui enable" did not correctly show the source window
as having the focus.  Debugging showed that the problem was that
tui_update_variables was called after the windows were drawn, and its
result was being ignored.  This changed the code to re-highlight the
windows if the value changed.

gdb/ChangeLog
2019-12-01  Tom Tromey  <tom@tromey.com>

* tui/tui.c (tui_enable): Call tui_update_variables earlier.

Change-Id: I1a4563fb431833dd3211a224c9e2df3b936fe9ce
gdb/ChangeLog
gdb/tui/tui.c
This page took 0.024411 seconds and 4 git commands to generate.