Peter Hutterer <[email protected]> writes:

> Now that the brackets are always the nearest change points (regardless of
> transition) we need to update the counters whenever we check for any updates.
>
> Otherwise we end up with a situation where counter->value is out of date and
> an alarm doesn't trigger because we're still using the value from last time
> something actually triggered.

The only significant change here is that the old value of the timer will
be different the next time SyncChangeCounter is called, which could
affect the Transition triggers. However, the brackets will ensure that
every edge is always caught as it will force each trigger to be checked
at each trigger set value.

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgpEKECjTC5pf.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to