Path: utzoo!mnetor!uunet!husc6!bloom-beacon!think!ames!ucbcad!ucbvax!denali.gwd.tek.COM!paulsh
From: paulsh@denali.gwd.tek.COM (Paul Shearer)
Newsgroups: comp.windows.x
Subject: Re: Random questions
Message-ID: <8712160133.AA02114@denali.GWD.TEK>
Date: 16 Dec 87 01:33:53 GMT
References: <6263@jade.BERKELEY.EDU>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 33


You are right, the foreground and background pixel are not in 
the struct XWindowAttributes.

However they are in the server struct WindowRec:

        ...
	PixmapPtr backgroundTile;
	unsigned long backgroundPixel;
	PixmapPtr borderTile;
	unsigned long borderPixel;
	...


Still I see no macros in Xlib that get at these values.

Good luck.

Paul
--------



Paul Shearer
M.S. 61-277
Tektronix, Inc.
P.O. Box 1000
Wilsonville, OR
	 97070-1000

W (503) 685-2137
H (503) 224-3536
tektronix!shark!paulsh