Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
xorg-x11-driver-input
xf86-input-spaceorb.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xf86-input-spaceorb.diff of Package xorg-x11-driver-input
commit a34f0fade531ab4c2efeb3ae0adbe45f0e919469 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Mon May 26 22:20:14 2008 +0930 Check for XINPUT ABI 3. diff --git a/src/spaceorb.c b/src/spaceorb.c index 7a8f6e6..5452ef7 100644 --- a/src/spaceorb.c +++ b/src/spaceorb.c @@ -107,7 +107,9 @@ static const char *reqSymbols[] = { "xf86CollectInputOptions", "xf86ErrorFVerb", "xf86FindOptionValue", +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 "xf86GetMotionEvents", +#endif "xf86GetVerbosity", "xf86MotionHistoryAllocate", "xf86NameCmp", @@ -337,7 +339,10 @@ DeviceInit (DeviceIntPtr dev) return !Success; } - if (InitValuatorClassDeviceStruct (dev, 6, xf86GetMotionEvents, + if (InitValuatorClassDeviceStruct (dev, 6, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, +#endif pInfo->history_size, Absolute) == FALSE) { ErrorF ("Unable to allocate SPACEORB ValuatorClassDeviceStruct\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor