http://bugs.winehq.org/show_bug.cgi?id=11582
--- Comment #14 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to comment #13)
Created attachment 47211 [details] Return immediately from ShowWindow if hiding a previously hidden Window
I believe the attachment address AF's analysis. The program goes a bit farther, but the second thread gets caught in a Debug loop.
Should the patch be submitted to wine-patches?
Looks reasonable, show_window() implementation does the same check. Just a nitpick: remove extraneous braces around WS_VISIBLE :)