diff options
Diffstat (limited to 'Xext/sync.c')
-rw-r--r-- | Xext/sync.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Xext/sync.c b/Xext/sync.c index 6fc2dcc7c..d9b6a9f06 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -2592,8 +2592,9 @@ IdleTimeWakeupHandler (pointer env, IdleTimeQueryValue (NULL, &idle); if ((pIdleTimeValueGreater && - XSyncValueGreaterThan (idle, *pIdleTimeValueGreater)) || - (pIdleTimeValueLess && XSyncValueLessThan (idle, *pIdleTimeValueLess))) + XSyncValueGreaterOrEqual (idle, *pIdleTimeValueGreater)) || + (pIdleTimeValueLess && + XSyncValueLessOrEqual (idle, *pIdleTimeValueLess))) { SyncChangeCounter (IdleTimeCounter, idle); } |