[comp.windows.x] Determining a window's background pixel value

whaley@june.cs.washington.edu (Ken Whaley) (01/09/89)

How does one determine a given window's background pixel value (assuming
that it's a single pixel value, not a pixmap)?  The documentation seems
to indicate that this information is not available--there is a 
background-pixel-value field in the set-window-attributes structure, but
there is no such field in the get-window-attributes structure. ???

I'm using CLX, so I'd be interested in hearing about the CLX way to do
this, but I don't even see a way of doing this with straight Xlib
(short of keeping track of the background value myself, which seems silly
because the system has to know the background value in order to repaint it).
	
		Ken
-- 
whaley@june.cs.washington.edu