🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24067

Re: Is there some way to find out what a BadMatch is about?

#24067
From: Donna Converse
Date: Tue, 25 Jun 1991 16:41
9 lines
1042 bytes
> 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.  

Come on, get a good reference manual.  You couldn't be using the Xlib
reference manual of Scheifler and Gettys "X Window System", or you wouldn't
be so frustrated.  The description of the XCreateGC interface makes it clear
that using a GC with a drawable of different depth results in a BadMatch error.
Technical Details
Message-ID: <9106251641.AA15791@excess.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines
References: <25654@well.sf.ca.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines
From: converse@expo.lcs.mit.EDU (Donna Converse)
Newsgroups: comp.windows.x
Subject: Re: Is there some way to find out what a BadMatch is about?
Message-ID: <9106251641.AA15791@excess.lcs.mit.edu>
Date: 25 Jun 91 16:41:03 GMT
References: <25654@well.sf.ca.us>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: X Consortium, MIT Laboratory for Computer Science
Lines: 9