[PATCH v2 libXi] Initialize extension with the right number of events.
jcristau at debian.org
Fri Feb 19 06:36:18 PST 2010
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.
> 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 <peter.hutterer at who-t.net>
Reviewed-by: Julien Cristau <jcristau at debian.org>
> how about this one? (compile-tested only but should get around the qt3
Yep, avoids the segfault. Thanks!
More information about the xorg-devel