[comp.windows.x.motif] BadDrawable error using Motif 1.0

pasturel@sctc.com (Pierre Pasturel) (01/19/91)

I have the following widgets:
                 Frame, "help_frame"
                        MainWindow, "main"
                             MenuBar, "menu_bar"
                                  CascadeButton, "exit"
                             ScrolledWindow, no name (use wildcard *)
                                  Text, "help_text"
                   
which pops up a Help Menu window.  The exit button is used to destroy the
frame widget and occassionally when I do this, I get the following error:


X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  70 (X_PolyFillRectangle)
  Minor opcode of failed request:  0
  Resource id in failed request:  0x900040
  Serial number of failed request:  9915
  Current serial number in output stream:  9917


Anyone have any clue on what the problem is?? It happens only very
occassionally (every 10,15 times I pop up and exit the help menu)

The window does pop over another window which has a pixmap, so I don't
know if its having problems redrawing it or what.


Thanks for any help.
Pierre
pasturel@sctc.com