Would it be an idea to use the auto-repeat by having the piece jump back
and forth,
rather than suppress later events? I am not sure what exactly the sequence
of events
is in Xt on auto-repeat. In Windows there would be one key-down event, one
or more
char events, and finally a key-up event. The key-down event could be used
to set a
flag and call Forward, the char events could then be used to call either
Forward or
Backward depending on the state of the flag, before toggling the latter.
_______________________________________________
Bug-XBoard mailing list
Bug-XBoard@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-xboard