[PATCH (v5) evdev 2/4] Add experimental XI 2.1 multitouch support

Cyril Brulebois kibi at debian.org
Sun Jan 23 15:59:43 PST 2011


Cyril Brulebois <kibi at debian.org> (24/01/2011):
> Need to check the xi minor version in the server as well:
> | evdev.c: In function ‘EvdevPostQueuedEvents’:
> | evdev.c:862: warning: implicit declaration of function ‘xf86PostTouchEvent’
> | evdev.c:862: warning: nested extern declaration of ‘xf86PostTouchEvent’
> 
> Something like this should do:
> | #if SERVER_XI_MINOR_VERSION < 1
> | #error You need SERVER_XI_MINOR_VERSION 1 or higher to get multitouch support
> | /* Or decide here whether to disable multitouch. */
> | #endif

Err, sorry about that. That doesn't seem to be exported to
drivers. Checking for ABI 13 isn't exactly sufficient, given the ABI
was bumped before multitouch stuff (needed for this driver's commit)
is merged: patches 4/8 vs. 7/8. But maybe that's a good enough
approximation?

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110124/4f908a55/attachment-0001.pgp>


More information about the xorg-devel mailing list