[comp.windows.x] Accessing Color Database Already on Server

samborn@ezx.sunrise.com (Kevin Samborn) (08/27/90)

	Recently, when doing some work with colors, I came across an interesting
problem.  Apparently there is no Xlib function for finding all the names that 
the server already knows, along with their rgb values.  What I'm looking
for is something akin to the XListFonts function that returns the current
rgb database.  This is important if you are display colors by names across
a network, where rgb files may differ.  Is this something I am missing, or is
there some special way to do it? 

	Also, why does the ICCCM dictate that icon pixmaps must be 1 bit deep?
Wouldn't it be better to allow icon pixmaps to be the depth of the screen, and
specify that the mask be a bitmap?  This would allow multi-color icons (without
having to set a separate icon window), and require the client to check the 
depth of the screen to know which pixmap to set.  The current conventions 
put unnecessary limitations on the hardware.

Kevin Samborn
samborn@sunrise.com