Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: WHEN will they ever learn? Message-ID: <8902011251.AA00728@EXPIRE.LCS.MIT.EDU> Date: 1 Feb 89 12:51:19 GMT References: Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 9 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.