Username or EmailPassword
Linux user Tess Flynn joins us to follow up on the feedback from last week's episode about Xorg.
Thanks for looking into this,
For Blender3D we use X11 directly but only to setup the OpenGL context, pass on events & copy/paste, there are about ~2000 lines of xlib code in total.
We also have some crazy guys that still support Irix (and solaris but at least thats not EOL'd yet), not sure if this is supported without static linking, would need to look into that too.
While using Xlib is a total PITA to work with, its rare that it needs updating so theres not much incentive to switch.
The only thing that would make me interested in doing this, is if it was faster or somehow gave a better user experience.
It does sound like there isn't much point for you. Bar the nicer API. Maybe I'm missing some win about XCB events, but I'm not seeing it.
The point of XCB is that it doesn't do all sorts of behind-the-scenes caching and round-tripping that Xlib does. It gives you something that is a bit more on the raw side as far as accessing the underlying protocol. This can be used to reduce latency and unnecessary round-trips. The API isn't needlessly complex and it is not intended to be a application-writer's API. Rather, it is intended to be used by toolkits and other mid-level libraries and frameworks which will then present a nice API to application developers.