On Mar 25, 2007, at 19:00 , Ian Piumarta wrote:
Hi Bert,
I implemented ioSetCursorARGB() on X11 using the XRender extension, see attachment. It's a stand-alone test program that uses ioSetCursorARGB() to show a nicely colored cursor. This is not hooked up to the new primitive yet - can you do this soonish or should I work on a more complete patch?
I'm a little concerned that this will cause the entire vm-display- X11 plugin to fail to load on any machine that doesn't have libXrender. Is there any way to implement this stuff without depending on Xrender? Alternatively, are you absolutely sure every machine bigger than a wristwatch is guaranteed to have the Xrender extension? Alternatively, how about I add a 'configure' option that turns on this support explicitly?
Remember that (1) the OLPC isn't the only machine that uses an X11 window and (2) most people download binaries with all of the dependencies screwed in as absolute requirements on their local machine for the VM to run properly. Anything that we fix specifically for (1) must not degrade the experience or complicate life for (2).
Good point. But I'm pretty sure Xrender is supported on any Linux nowadays - it is in the X server for close to 7 years now (since XFree86 4.0.1).
- Bert -