Fix startup focus of board window
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 13 Apr 2011 14:33:16 +0000 (16:33 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Thu, 14 Apr 2011 19:30:17 +0000 (21:30 +0200)
commit542191fdbde9d89bbc31a5156aae26414689b1f8
treeadf44d8163c2307299ddaebecd2b4527b1b13a22
parent9354baee3c9eba033d4d443e01469baea53295ae
Fix startup focus of board window

When there were open auxiliary windows, these would have focus on
starting up XBoard. The XtSetKeyboardFocus call added in XBoard main()
was ineffective in curing that. It has now been replaced by a call to
XSetInputFocus, which does do the job. By giving input focus to the form
widget, rather than the board widget, XBoard will be immediately
sensitive to all key bindings.
xboard.c