Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!ogicse!decwrl!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: BadMatch error in XCreateWindow Message-ID: <2985@bacchus.dec.com> Date: 9 Mar 90 17:15:05 GMT References: <6372@orca.wv.tek.com> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 15 In article <6372@orca.wv.tek.com>, bobtl@toolbox.WV.TEK.COM writes: > And that it is illegal to image a pixmap into a window if they have different > depths? > > Does this apply to the window background as well? The window attributes section (section 3.2, pages 33-34 of the DEC Press book) of the Xlib manual specifically say that you will get BadMatch errors if the depths of the background or border pixmaps do not match that of the window. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee