+2001-03-01 Nicholas Duffek <nsd@redhat.com>
+
+ * library/srctextwin.itb (config_win): Give focus to $win.
+
Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
* generic/gdbtk-cmds.c: Include recently created "regcache.h"
# Up/Down arrow key bindings
bind_plain_key $win Up [list %W yview scroll -1 units]
bind_plain_key $win Down [list %W yview scroll +1 units]
+
+ # Make key bindings usable immediately (without mouse click in window).
+ focus $win
}
# ------------------------------------------------------------------
}
}
+ set oldpane $_tpane
+
switch $current(mode) {
SOURCE {
FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib
}
}
}
+
+ # After switching panes, clear the previous pane's cursor so that it isn't
+ # used as the default when no other cursors are set.
+ if { "$oldpane" != "$_tpane" } {
+ $twin configure -cursor ""
+ }
+
set current(line) $line
set current(tag) $tagname
set current(addr) $addr