https://bugs.winehq.org/show_bug.cgi?id=40060
--- Comment #3 from Sergey Isakov isakov-sl@bk.ru --- Half of stage patches. Nj claim that the patch is the reason of such behavior I made regression test. It shows me this commit. Then I reverted the patch and got the result. Bisecting was unambiguos, good - clockable and bad - unclickable. May be some older patch has influence. May be the reason is winemac.drv. I will later test with winex11.drv.
I can also proposed that it is MacOSX behaviour that the dialog appears as not active. It is beside black screen and appears after my Alt-Tab.
On the other hand let think about the patch. Why it replaces hwnd to null? What is original idea that it must be real handler? Why you decided it is wrong and must be zero?