Changes to XInput Proto Number of Events Cause Xlib WireToEvent Vector Mismatch

Keith Packard keithp at
Wed Dec 2 19:15:57 PST 2009

On Thu, 26 Nov 2009 11:45:39 +1000, Peter Hutterer <peter.hutterer at> wrote:
> On Wed, Nov 25, 2009 at 04:42:59PM -0500, Nathan Kidd wrote:

> Attached is an attempt of a fix to libXext. There's not a lot of
> wriggle-room, the APIs are quite restrictive and we can't pass a great deal
> of information around. Additionally, the library has no way of knowing how
> many events a given extension has, it's pure guesswork (or compiled into the
> library).

Why can't the library know? Presumably it needs to support all of these
extension versions, or it won't actually work at all (and should fail to
initialize itself).

Is it that the extension version isn't known at this point?

keith.packard at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the xorg mailing list