swick@ATHENA.MIT.EDU (Ralph R. Swick) (03/31/88)
One of the reasons why a demo program that uses colormaps 'properly' doesn't exist is because 'properly' is not yet completely defined. 'Proper' means being a good citizen w.r.t. other clients that also want private colormaps for their windows as well as being technically correct. The draft Inter-Client Communications Conventions Manual (in X11R2/doc/conventions, or /mit/x11dev/doc/conventions on Athena) contains the current working definition of 'proper'. Unfortunately, none of the window managers shipped with R2 are prepared to handle their side of the bargain, so for a little while longer you're stuck having to do extra work. You should, however, use the ICCCM as a guide.