Article View: comp.windows.x
Article #23968Is there some way to find out what a BadMatch is about?
From: Jef Poskanzer
Date: Sat, 22 Jun 1991 01:48
Date: Sat, 22 Jun 1991 01:48
16 lines
1123 bytes
1123 bytes
I've got this program which works fine on monochrome screens, but
when I try running it on a PseudoColor screen I get BadMatch errors
from innocuous calls like XDrawPoint and XFillRectangle. So I was
just wondering if anyone has any tricks for finding out what the
server thinks doesn't match. I suppose I could run the server in
a debugger, but that's a hassle.
More details: I'm drawing to an off-screen Pixmap created with
XCreatePixmapFromBitmapData( display, root, data, width, height, 1L, 0L, 1 ).
The GC's I use have foreground and background set to 1L and 0L, and
planemask set to 1L.
---
Jef
Jef Poskanzer jef@well.sf.ca.us {apple, ucbvax, hplabs}!well!jef
"The chain which can be yanked is not the eternal chain." -- G. Fitch
Technical Details
Message-ID:
<25584@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!apple!well!jefShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!mips!apple!well!jef From: jef@well.sf.ca.us (Jef Poskanzer) Newsgroups: comp.windows.x Subject: Is there some way to find out what a BadMatch is about? Message-ID: <25584@well.sf.ca.us> Date: 22 Jun 91 01:48:53 GMT Organization: Acme Software Lines: 16