dix: fix typos in comments, one formatting fix.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
parent
037ec5a3c4
commit
7f818776b7
|
@ -1278,7 +1278,7 @@ ValuatorAccelerationRec pointerAccelerationScheme[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* install an acceleration scheme. retrns TRUE on success, and should not
|
* install an acceleration scheme. returns TRUE on success, and should not
|
||||||
* change anything if unsuccessful.
|
* change anything if unsuccessful.
|
||||||
*/
|
*/
|
||||||
_X_EXPORT Bool
|
_X_EXPORT Bool
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <os.h>
|
#include <os.h>
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Predictable pointer ballistics
|
* Predictable pointer acceleration
|
||||||
*
|
*
|
||||||
* 2006-2008 by Simon Thum (simon [dot] thum [at] gmx de)
|
* 2006-2008 by Simon Thum (simon [dot] thum [at] gmx de)
|
||||||
*
|
*
|
||||||
|
@ -131,7 +131,8 @@ FreeVelocityData(DeviceVelocityPtr s){
|
||||||
* dix uninit helper, called through scheme
|
* dix uninit helper, called through scheme
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
AccelerationDefaultCleanup(DeviceIntPtr pDev){
|
AccelerationDefaultCleanup(DeviceIntPtr pDev)
|
||||||
|
{
|
||||||
/*sanity check*/
|
/*sanity check*/
|
||||||
if( pDev->valuator->accelScheme.AccelSchemeProc == acceleratePointerPredictable
|
if( pDev->valuator->accelScheme.AccelSchemeProc == acceleratePointerPredictable
|
||||||
&& pDev->valuator->accelScheme.accelData != NULL){
|
&& pDev->valuator->accelScheme.accelData != NULL){
|
||||||
|
|
Loading…
Reference in New Issue