summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-09-11 01:37:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-12-02 12:07:58 +1000
commit6d056bf2d07b044da17d741e900226c3ab6d9b83 (patch)
treec8dec773aa8941b6c787ac36aadab1fb0afdaaae
parent64e4b364cc01b9ada3f2afa0c5c4763b94f07854 (diff)
Don't handle history_size in the driver.
This has been handled in the server for quite a while now, just initialize with the defaults and ignore it otherwise. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
-rw-r--r--src/xf86Aiptek.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index 7dabda8..ed70301 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -1681,7 +1681,7 @@ xf86AiptekProc(DeviceIntPtr pAiptek, int requestCode)
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3
xf86GetMotionEvents,
#endif
- pInfo->history_size,
+ GetMotionHistorySize(),
((device->flags & ABSOLUTE_FLAG)
? Absolute : Relative) | OutOfProximity ) == FALSE)
{
@@ -1902,7 +1902,6 @@ xf86AiptekAllocate(char* name,
pInfo->dev = NULL;
pInfo->private = device;
pInfo->private_flags = 0;
- pInfo->history_size = 0;
device->flags = flag; /* various flags (device type,
* coordinate type */