nosmo@Athens.UUCP (Vincent Kraemer @ Interactive Software Engineering Inc.) (08/22/89)
Here is an embarassing question, with a bit of background. First the details: Sparcstation, color, server (patch 1-8, purdue). I create a bitmap 'a' using XCreateBitmapFromData. It's associated drawable is the RootWindow. Later, I create a Pixmap 'b' with associated drawable RootWindow. (Using XCreatePixmap) When I call XCopyPlane, using 'a' as the source and 'b' as the destination, the call fails with a BadMatch error. Is there a way in which I may discover the "root" for both of these *maps? Are there other methods of generating this error, that are undocumented and easy for the unknowing to do? Many Advanced Thanks, Vince Kraemer (nosmo@eiffel.com or uunet!eiffel!nosmo)
rws@EXPO.LCS.MIT.EDU (08/22/89)
When I call XCopyPlane, using 'a' as the source and 'b' as the destination, the call fails with a BadMatch error. Probably the depth of the GC you are passing doesn't match the depth of 'b'. This is also a (documented) condition for BadMatch.