On Fri, Feb 19, 2010 at 15:25:57 +1000, Peter Hutterer wrote:

> If the server supports a lower XI version than the client, the Xlib-internal
> event vector may be smashed. See libXext for more details.
> http://cgit.freedesktop.org/xorg/lib/libXext/commit/?id=83fdb27df4ddc2fb088ddf2ec65f0db6b7c57287
> 
> This patch queries the server for the supported XI extension before
> registering the extension with Xlib. The number of events registered depends
> on the server version.
> 
> Signed-off-by: Peter Hutterer <[email protected]>

Reviewed-by: Julien Cristau <[email protected]>

> ---
> how about this one? (compile-tested only but should get around the qt3
> issue).

Yep, avoids the segfault.  Thanks!

Cheers,
Julien
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to