Re: Gnome and Color Hogging

One thing you could try is to write a program that allocates 200 colours (say)
in the default colourmap on startup, and then either goes away later,
or saves the pixel values into a propertry on the root window,
so that your program can read the info.  This is what the Open Look
OpenWindows startup does (I don't know about CDE) on Solaris, as I recall.

There may be better ways, though.


Liam Quin - Barefoot in Toronto - liam holoweb net -
author, The Open Source XML Database Toolkit, Wiley, August 2000
Co-author, The XML Specification Guide, Wiley, 1999

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]