XI2 = moving target?

Florian Echtler floe at butterbrot.org
Sun Jul 26 09:47:44 PDT 2009

> > - What's the purpose of using XGetEventData now instead of plain
> > GenericEvents?
> libX11 has an internal maximum size for events which was the cause for
> events having to store pointers to external memory locations. this exposed a
> huge memory leak in naive applications, the cookie approach with
> XGetEventData was the simplest approach to avoid the leaks and yet be
> generic for all extensions.
> The commit message for XGetEventData is quite extensive and explains it in
> more detail.
Thanks, I see. Is it mandatory to check for cookie->extension?

> > - When will the XI2 API be finalized?
> I think it is now, though I have to have a final glossover on monday to make
> sure I didn't forget anything.
Perfect, good to know. I'll re-post the updated patch on Tuesday then;
FreeGLUT doesn't use git and they won't integrate the patch, so that's
IMHO the best way to make it public.

Yours, Florian
0666 - Filemode of the Beast

More information about the xorg mailing list