[PATCH aiptek 05/18] Don't handle history_size in the driver.
Peter Hutterer
peter.hutterer at who-t.net
Wed Dec 1 18:13:36 PST 2010
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 at who-t.net>
---
src/xf86Aiptek.c | 3 +--
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 */
--
1.7.3.2
More information about the xorg-devel
mailing list