http://bugs.winehq.org/show_bug.cgi?id=29488
--- Comment #5 from A Wine user RandomAccountName@mail.com 2012-02-14 05:48:57 CST --- (In reply to comment #3)
Created attachment 38860 [details] Create clip window as soon as possible
This will probably help.
Well, I set up a script to run BurnPlot 100 times and save the output, and I never got the X error with this patch. I did the same thing with creation of a new prefix and still got an X error twice (down from 70 times without the patch). One of those was the same invalid window parameter error mentioned here, the other was BadColor (invalid Colormap parameter).