On Mon, Nov 18, 2002 at 05:16:50PM +0100, Tor Andersson wrote: > I used to think X was nice; now I'm not so convinced anymore... >
I think your mistake here is wheel reinvention. ;-) GTK+ and Qt already contain code to do all this stuff and abstract away visuals/colormaps. What you've discovered is that Xlib is unpleasant low-level API. The intent from way back was to use a GUI toolkit instead of Xlib alone. If nothing else, reading the GTK+ source code should answer a lot of questions. Havoc _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
