diff --git a/src/evdev.c b/src/evdev.c index 0fe3610..ca6aa49 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -988,15 +988,11 @@ EvdevAddRelClass(DeviceIntPtr device) i++; } - xf86MotionHistoryAllocate(pInfo); - if (!InitPtrFeedbackClassDeviceStruct(device, EvdevPtrCtrlProc)) return !Success; pInfo->flags |= XI86_POINTER_CAPABLE; - xf86MotionHistoryAllocate(pInfo); - return Success; }