Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!well!jef From: jef@well.sf.ca.us (Jef Poskanzer) Newsgroups: comp.windows.x Subject: Re: Is there some way to find out what a BadMatch is about? Message-ID: <25654@well.sf.ca.us> Date: 24 Jun 91 19:26:44 GMT References: <1991Jun24.092426@wsl.dec.com> Reply-To: Jef Poskanzer Organization: Acme Software Lines: 19 In the referenced message, klee@wsl.dec.com wrote: }Sounds like you've got depth mis-match problems. Are you GCs created }with the same depth as the target drawable? Yes, that's the consensus. Apparently GC's have depth as an invisible attribute. You can't query it, you can't change it, it's only documented in the protocol spec, but if it doesn't match your program aborts. God I love X. I'll try this fix next time I'm in front of a color screen. On the broader question of how to figure out what the server is complaining about in cases like this, I have received one suggestion to use xscope. I tried it, it doesn't work, and I don't see how it would help anyway since I already know what X request is failing. --- Jef Jef Poskanzer jef@well.sf.ca.us {apple, ucbvax, hplabs}!well!jef "Youth doesn't excuse everything." -- Dr. Janice Lester