[comp.windows.x] Problem with widget background_pixmap

geoff@Veritas.COM (Geoffrey Leach) (01/12/91)

I'm having difficultity with a widget that is being "colored" with a 
background pixmap.  Perhaps someone can tell me where I'm going wrong.

Environment:  X11R3 from ATT under SVR32.2 on an AT386.

Problem:  The widget in question is quite simple.  The background_pixmap
	  is managed through an XtSetValues call.  The XConfigureWindow
	  call is made by WindowObjSetValues().  This part works fine.
	  The widget's expose procedure puts a label in the widget.  The
	  GC used to draw the label specifies forground, background and
	  function.  Function is copy.  The result is that the pixmap 
	  partially obscures the label.  Looks perhaps like the label
	  was drawn with xor, in that some of the bits from the text
	  are visible, but generally not enough to make out what the
	  label is.

Any ideas?