https://bugs.winehq.org/show_bug.cgi?id=36348
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Henri Verbeet from comment #4)
(In reply to Austin English from comment #3)
The leaks from comment #0 aren't occurring in 1.7.41. The patch does help, though a new issue appears after that:
Does that happen consistently? (As opposed to being some kind of race.) It's slightly odd that this patch would make that issue show up, although it looks like a user32 thing to me either way.
Not consistent, though I have been able to reproduce it. After https://source.winehq.org/git/wine.git/commitdiff/ca00d72da3d959df1e6a6d619e..., running d3d9ex.c is causing the display to change resolution and it fails to return to its original size. xrandr -s was useful originally, but later failures required a restart of X.
When the user32 failure occurs, the resolution is very wrong.