mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-24 04:30:39 +02:00
sync: Fix delta value check
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 <lfrb@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
37f4e7651a
commit
8060196a3e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue