Also, both versions seem to suffer a heavy cost of a few seconds of > initialization compared to the basic XNextEvent version. >
Hmm, no, that seems to be due to some other problem: to force synchronization, I need to generate several events at first for the handler to catch up. There might be some XFlush or XSync or something missing somewhere.
____________________ Racket Users list: http://lists.racket-lang.org/users

