thor@stout.ucar.edu (Rich Neitzel) (06/08/89)
Greetings;
My problem is this - I want to read in a cursor bitmap file. I
am trying to use XreadBitmapFile. However, I get the following X error
message:
X Protocol error: BadDrawable, invalid Pixmap or Window parameter
Major opcode of failed request: 53 (X_CreatePixmap)
Minor opcode of failed request: 0
Resource id in failed request: 0x0
Serial number of failed request: 17
Current serial number in output stream: 18
I looked at my display, drawable and pixmap variables. None are 0 and
I use the display and drawable in other places in the code and all is
well there. My drawable is actually a window id. If I stuff a bogus id
into the window id, that is the returned resource id on the error.
However, I am at a loss to understand how it could turn up as 0 ever.
HELP!
-------------------------------------------------------------------------------
Richard Neitzel
National Center For Atmospheric Research
Box 3000
Boulder, CO 80307-3000
303-497-2057
thor@thor.ucar.edu
Torren med sitt skjegg Thor with the beard
lokkar borni under sole-vegg calls the children to the sunny wall
Gjo'i med sitt shinn Gjo with the pelts
jagar borni inn. chases the children in.
-------------------------------------------------------------------------------