[comp.windows.x] New Behaviour for XtNbackgroundPixmap

zjmw0a@gpss12.trc.amoco.com (Joe M. Wade) (02/22/90)

I am running X11 R3 on a SparcStation1 and am getting different
behaviour between my R3 Xsun server and the server in OpenWindows
FCS 1.0 ( R4?? ) I have built a pixmap for a widget background
which contains a smaller box with annotated axis on the top and 
left sides. I then create a child widget which is the size of the 
smaller contained box which is supposed to be "invisible". On 
the R3 Xsun server, using XtNbackgroundPixmap of ParentRelative
worked fine, but when run on the server in OpenWindows, the 
interior box's background has the origin of the original pixmap
(0,0) oriented at the child widget's origin. ( ie. I see the axes
inside of what was supposed to be the "see-through" area ). Has
the definition changed, disappeared, or what? I can't find any 
mention of ParentRelative in the R3 docs and I don't have the R4
docs yet. I had originally gotten the info off of the net..  

I realize the description of the problem may be rather hard to 
follow, but if anybody has any ideas or suggestions, they will 
be greatly appreciated.

*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
*  Joe M. Wade (zjmw0a@apctrc.trc.amoco.com) (918) 660-4387    *
*  Amoco Research Center * 4502 E. 41st St. * Tulsa, OK  74102 *
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
*  I'm only a consultant, so don't blame the company           *
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
*  Remember, wherever you go..there you are   - Buck Bonzai    *
*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *

keith@EXPO.LCS.MIT.EDU (Keith Packard) (02/26/90)

>  On 
> the R3 Xsun server, using XtNbackgroundPixmap of ParentRelative
> worked fine, but when run on the server in OpenWindows, the 
> interior box's background has the origin of the original pixmap
> (0,0) oriented at the child widget's origin.

This looks like a bug in the XNeWS server.  The X11 protocol has suffered no
substantive changes for quite a long time; the definition of ParentRelative
tiling has not changed.

Keith Packard
MIT X Consortium