Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!mit-eddie!eric From: eric@eddie.MIT.EDU (Eric Van Tassell) Newsgroups: comp.windows.x Subject: BadPixmap and XChangeWindowAttributes Keywords: BadPixmap and XChangeWindowAttributes Message-ID: <11157@eddie.MIT.EDU> Date: 22 Feb 89 02:36:19 GMT Organization: MIT EE/CS Computer Facility, Cambridge, MA Lines: 29 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}