While transitionning from CARD64 to int64, the GreaterThan call
as mistakenly been transformed into ">=". That was at least
causing problems with Mutter.

Signed-off-by: Louis-Francis Ratté-Boulianne <[email protected]>
---
 Xext/sync.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Xext/sync.c b/Xext/sync.c
index 5c79d9e67..45dab6ac7 100644
--- a/Xext/sync.c
+++ b/Xext/sync.c
@@ -865,7 +865,7 @@ SyncChangeAlarmAttributes(ClientPtr client, SyncAlarm * 
pAlarm, Mask mask,
             ||
             (((pAlarm->trigger.test_type == XSyncNegativeComparison) ||
               (pAlarm->trigger.test_type == XSyncNegativeTransition))
-             && pAlarm->delta >= 0)
+             && pAlarm->delta > 0)
             ) {
             return BadMatch;
         }
-- 
2.13.0

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

Reply via email to