diff options
author | marha <marha@users.sourceforge.net> | 2010-05-11 14:23:54 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-11 14:23:54 +0000 |
commit | 9dea871b28ba9a8ef5374b6420aa5dafcd2610e1 (patch) | |
tree | 10e52cc929bf31f630adc11e729f185cf6e60099 /xorg-server/Xext | |
parent | 49c7992dfc9c6b8a60baf1afbede4616e0265e7f (diff) | |
download | vcxsrv-9dea871b28ba9a8ef5374b6420aa5dafcd2610e1.tar.gz vcxsrv-9dea871b28ba9a8ef5374b6420aa5dafcd2610e1.tar.bz2 vcxsrv-9dea871b28ba9a8ef5374b6420aa5dafcd2610e1.zip |
xserver git update 11/5/2010
Diffstat (limited to 'xorg-server/Xext')
-rw-r--r-- | xorg-server/Xext/sync.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/xorg-server/Xext/sync.c b/xorg-server/Xext/sync.c index 990cb67de..e865e527a 100644 --- a/xorg-server/Xext/sync.c +++ b/xorg-server/Xext/sync.c @@ -94,7 +94,7 @@ static SyncCounter **SysCounterList = NULL; #define XSyncCAAllTrigger \ (XSyncCACounter | XSyncCAValueType | XSyncCAValue | XSyncCATestType) -static void SyncComputeBracketValues(SyncCounter *, Bool); +static void SyncComputeBracketValues(SyncCounter *); static void SyncInitServerTime(void); @@ -167,7 +167,7 @@ SyncDeleteTriggerFromCounter(SyncTrigger *pTrigger) } if (IsSystemCounter(pTrigger->pCounter)) - SyncComputeBracketValues(pTrigger->pCounter, /*startOver*/ TRUE); + SyncComputeBracketValues(pTrigger->pCounter); } @@ -194,7 +194,7 @@ SyncAddTriggerToCounter(SyncTrigger *pTrigger) pTrigger->pCounter->pTriglist = pCur; if (IsSystemCounter(pTrigger->pCounter)) - SyncComputeBracketValues(pTrigger->pCounter, /*startOver*/ TRUE); + SyncComputeBracketValues(pTrigger->pCounter); return Success; } @@ -351,7 +351,7 @@ SyncInitTrigger(ClientPtr client, SyncTrigger *pTrigger, XSyncCounter counter, } else if (IsSystemCounter(pCounter)) { - SyncComputeBracketValues(pCounter, /*startOver*/ TRUE); + SyncComputeBracketValues(pCounter); } return Success; @@ -646,7 +646,7 @@ SyncChangeCounter(SyncCounter *pCounter, CARD64 newval) if (IsSystemCounter(pCounter)) { - SyncComputeBracketValues(pCounter, /* startOver */ FALSE); + SyncComputeBracketValues(pCounter); } } @@ -913,7 +913,7 @@ SyncDestroySystemCounter(pointer pSysCounter) } static void -SyncComputeBracketValues(SyncCounter *pCounter, Bool startOver) +SyncComputeBracketValues(SyncCounter *pCounter) { SyncTriggerList *pCur; SyncTrigger *pTrigger; @@ -930,11 +930,8 @@ SyncComputeBracketValues(SyncCounter *pCounter, Bool startOver) if (ct == XSyncCounterNeverChanges) return; - if (startOver) - { - XSyncMaxValue(&psci->bracket_greater); - XSyncMinValue(&psci->bracket_less); - } + XSyncMaxValue(&psci->bracket_greater); + XSyncMinValue(&psci->bracket_less); for (pCur = pCounter->pTriglist; pCur; pCur = pCur->next) { |