[PATCH xserver 5/7] test: Add basic SYNC tests.

Keith Packard keithp at keithp.com
Thu Aug 3 21:34:36 UTC 2017


Eric Anholt <eric at anholt.net> writes:

> 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)"?

Yeah, you can be assured that any events generated by the previous
requests will have been queued when the GetInputFocus reply has been
received.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170803/4ddf850f/attachment-0001.sig>


More information about the xorg-devel mailing list