dix: unexport ProcessVelocityData2D()
Only used with on source file, so unexport and make it static. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1347>
This commit is contained in:
parent
b598727f1c
commit
a09f2540d2
|
@ -690,8 +690,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
|
||||
*/
|
||||
BOOL
|
||||
ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time)
|
||||
static BOOL ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time)
|
||||
{
|
||||
double velocity;
|
||||
|
||||
|
|
|
@ -81,9 +81,6 @@ typedef struct _DeviceVelocityRec {
|
|||
} statistics;
|
||||
} DeviceVelocityRec, *DeviceVelocityPtr;
|
||||
|
||||
extern _X_EXPORT BOOL
|
||||
ProcessVelocityData2D(DeviceVelocityPtr vel, double dx, double dy, int time);
|
||||
|
||||
extern _X_EXPORT double
|
||||
BasicComputeAcceleration(DeviceIntPtr dev, DeviceVelocityPtr vel,
|
||||
double velocity, double threshold, double acc);
|
||||
|
|
Loading…
Reference in New Issue