On Thu, 1 Nov 2001, Keith Packard wrote:
> UpdateCurrentTimeIf can only modify the current time if there aren't any
> events queued. The assumption being that any events queued *after* the
> system time is fetched will have timestamps later than the current time,
> but any events still pending in the queue will have timestamps earlier
> than the current time. To ensure that time doesn't go backwards,
> UpdateCurrentTimeIf must avoid changing the current time if events are
> pending. Hence the correct check:
>
> if (*checkForInput[0] == *checkForInput[1])
> currentTime = systime;
So that means that it's not possible to just update the
currentTime. You can get the current system time, but you can't
update currentTime without processing events. OK.
Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert