Keith Packard <kei...@keithp.com> writes: > [ Unknown signature status ] > Eric Anholt <e...@anholt.net> writes: > >> I couldn't find any, and I was modifying the implementation, so I had >> to write some. I would like the test to end with a "make sure there >> weren't any stray unchecked errors", but I didn't figure out how to do >> that. > > Xlib used XSync for this, which just does GetInputFocus to make sure > that all requests have been processed and replies and errors > retrieved. Is that not sufficient here?
So I GetInputFocus, force the reply, free the reply, then poll for events in a little loop that's basically "if anything happened, exit(1)"?
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel