OK, I figured it out!

The problem has nothing to do with the ICS box popup, but with
switching to XBoard's generic dialog creator for popping up the
board window, and the modification I made in that to allow
multiple panes (for the benefit of the Engine Output window).
This led to the widget that used to be called 'form', containing
everything that was in the dialog window,  now being present
in multiple instances, called paneA, paneB etc.

So for any definitions in .Xdefaults to be applied to the XBoard
main window, it has no longer to be referred to as XBoard*form,
but as XBoard*paneA. So the correct contents of .Xdefaults
should be:

XBoard*paneA.translations: \
  <Key>d: MenuItem(Action.Draw) \n \
  <Key>r: MenuItem(Action.Resign) \n \
  <Key>q: MenuItem(File.Quit) \n

I tested this with binding <Key>t to View.FlipView, and this
worked. (After I figured out one has to give the command
"xrdb ~/.Xdefaults" to activate the definitions in it.

I will change the manual accordingly.

_______________________________________________
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to