[comp.windows.x] BadPixmap and XChangeWindowAttributes

eric@eddie.MIT.EDU (Eric Van Tassell) (02/22/89)

Hopefully someone will be able to divine what should have been obvious to me
from the following data.


	- If I look at the XSetWindowAttributes struct w/dbx before the
	  call to XChangeWindowAttributes the only non-zero field is
	  bit_gravity = 32.

	- A breakpoint in XChangeWindowAttributes reveals:

		- the attributes arg is the address of the struct I was
		  looking at above

		- the display connection and windwo args are correct
		  because they are the same as XDrawText used to
		  write "foo" to this window

		- the valuemask is 16

	- XChangeWindowAttributes returns 4 BadPixmap


	Any clues? TIA.
-- 
Eric Van Tassell(dlcdev!eric@eddie.mit.edu)
Progress Software Corp.
22B Cotton Rd.
Nashua, NH 03063 {603-882-2488}