reentrancy of mieqProcessInputEvents()?

Keith Packard keithp at keithp.com
Fri Jun 15 10:14:34 PDT 2012


Jeremy Huddleston <jeremyhu at apple.com> writes:

> Should RRTellChanged be calling UpdateCurrentTimeIf() instead of UpdateCurrentTime()?

Probably.

> Is there a way we can make this API more robust rather than just
> adding assertions to the implementation?  For example, why does
> UpdateCurrentTime need to ProcessInputEvents?

To keep event timestamps monotonic and accurate. Without processing
events, server time can race ahead of input timestamps.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120615/c2da3daa/attachment.pgp>


More information about the xorg-devel mailing list