XI2 = moving target?
peter.hutterer at who-t.net
Fri Jul 24 22:53:40 PDT 2009
On Fri, Jul 24, 2009 at 12:17:40PM +0200, Florian Echtler wrote:
> I recently updated my Xserver, libXI etc. to the most recent master and
> this broke my XI2 FreeGLUT patch again. While I'm trying to get it
> working again, I have two questions:
> - What's the purpose of using XGetEventData now instead of plain
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
> - 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.
More information about the xorg