Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!usc!snorkelwacker!bloom-beacon!lupine.UUCP!lemke From: lemke@lupine.UUCP (Dave Lemke) Newsgroups: comp.windows.x Subject: Re: Three Questions/Problems Message-ID: <8911281746.AA06120@sheridan.> Date: 28 Nov 89 17:46:15 GMT References: Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 28 From: Daniel Seewer Date: Mon, 27 Nov 89 22:56:40 EST 3) What can the following problem be related to? I have a client that runs without any problems on SUN 3/** and every SUN 4 I have tried except for the SUN 4/330 (or it might be a 4/430 if there is such a machine). The server is one distributed by SUN with Openwindows and uses cg6 (or cg9). As you can tell I really know my hardware. Any way when I allocate the Pixmap there seems to be garbage in the pixmap. That is even if the pixmap is not drawn in a nd then displayed it will have stuff in the pximap. The confusing part is that it works on all color SUNS using the mit X11 server. When the code is recompiled on the SUN 4/330it has the previously mentioned problem. Could it be the background pixmap? I am using the athena widget set X11R3. Am I doing something wrong? xnews (OpenWindows) doesn't clear a pixmap at creation. the protocol doesn't require it, and its often unnecessary. the MIT server does clear them at creation. the safe thing to do is clear the pixmap to the background color (XFillRect it) before drawing into it. [ i was told R4 will stop clearing pixmaps at creation, but i haven't checked. ] Dave Lemke ARPA: lemke@ncd.com Network Computing Devices, Inc. UUCP: uunet!ncd!lemke