I finally figured out a nice clean way to stick the GPM event into the
queue, and now everything works, including mouse-tracking when while doing
selection, so you get good incremental feedback and all that stuff.
I removed the static-ness of enqueue_command_event(). I can't use
unread-command-events, because mouse-motion events screw that up. With
this approach, everything works beautifully.
My question is, is this a completely bad way to achieve my goals? I want
to insert arbitrary events into the data stream from outside event-stream.c
or any of the event-XXX.c files. I could find no other way to do it.
I hope you don't get this twice ben, I wasn't sure if you were on the
normal xemacs-beta list, or just xemacs-review.
-Bill P.