rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/01/89)
When will people learn to give sufficient information about their environment? What display are you using? What software release? For your particular problem, how about the relevant output of xdpyinfo? Your test program ran just fine on the color screen of my Sun 3/60, using R3+, using either kind of colormap. But, I note that your call to XFillRectangle (display, simple, gc, 50, 50, 200, 200); paints a random color, since you haven't stored any particular RGB value into pixels[0] at this point.