http://bugs.winehq.org/show_bug.cgi?id=29236
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2011-12-19 03:29:23 CST --- You'd have to add +win,+x11drv to your trace to see what happens to the window.
Note that stopping to blit when they get XDestroyWindow isn't enough, there may be blitting calls already in the display queue. There's no way to prevent BadDrawable from happening occasionally.