dix: change ProcessVelocityData2D to BOOL.

Don't confuse users with a return type of short, that's even less indicative
that it returns 0/non-0 than "int".

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
This commit is contained in:
Peter Hutterer 2011-04-20 14:56:44 +10:00
parent 70b76286db
commit 1c162ebcab
2 changed files with 2 additions and 2 deletions

View File

@ -670,7 +670,7 @@ QueryTrackers(DeviceVelocityPtr vel, int cur_t){
* Perform velocity approximation based on 2D 'mickeys' (mouse motion delta).
* return true if non-visible state reset is suggested
*/
short
BOOL
ProcessVelocityData2D(
DeviceVelocityPtr vel,
int dx,

View File

@ -106,7 +106,7 @@ InitVelocityData(DeviceVelocityPtr vel);
extern _X_EXPORT void
InitTrackers(DeviceVelocityPtr vel, int ntracker);
extern _X_EXPORT short
extern _X_EXPORT BOOL
ProcessVelocityData2D(DeviceVelocityPtr vel, int dx, int dy, int time);
extern _X_EXPORT float