summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Thum <simon.thum@gmx.de>2011-02-23 02:29:35 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2011-03-02 15:00:08 +1000
commit1c008e7e7865b405b8033f625333cd64ece4499e (patch)
tree4003c754ab924a4c1c1f21a78726259d529e5b47 /include
parenta4b85261859b17dba9ad8f7f1ce650133f0235d4 (diff)
dix: change all timestamps in pointer acceleration to CARD32
CARD32 is being returned by GetTimeInMilis(), so use it consistently. Signed-off-by: Simon Thum <simon.thum@gmx.de> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/input.h2
-rw-r--r--include/ptrveloc.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/include/input.h b/include/input.h
index 165992a23..bdef0389e 100644
--- a/include/input.h
+++ b/include/input.h
@@ -145,7 +145,7 @@ typedef void (*DeviceUnwrapProc)(
typedef void (*PointerAccelSchemeProc)(
DeviceIntPtr /*device*/,
ValuatorMask* /*valuators*/,
- int /*evtime*/);
+ CARD32 /*evtime*/);
typedef void (*DeviceCallbackProc)(
DeviceIntPtr /*pDev*/);
diff --git a/include/ptrveloc.h b/include/ptrveloc.h
index a1165b156..c14e12d61 100644
--- a/include/ptrveloc.h
+++ b/include/ptrveloc.h
@@ -134,9 +134,11 @@ InitPredictableAccelerationScheme(DeviceIntPtr dev,
struct _ValuatorAccelerationRec* protoScheme);
extern _X_INTERNAL void
-acceleratePointerPredictable(DeviceIntPtr dev, ValuatorMask* val, int evtime);
+acceleratePointerPredictable(DeviceIntPtr dev, ValuatorMask* val,
+ CARD32 evtime);
extern _X_INTERNAL void
-acceleratePointerLightweight(DeviceIntPtr dev, ValuatorMask* val, int evtime);
+acceleratePointerLightweight(DeviceIntPtr dev, ValuatorMask* val,
+ CARD32 evtime);
#endif /* POINTERVELOCITY_H */