http://bugs.winehq.org/show_bug.cgi?id=18640
--- Comment #13 from Henri Verbeet hverbeet@gmail.com 2010-03-19 07:46:02 --- (In reply to comment #12)
found a possible fix, the SendMessage call boils down to calling the function set_win_format, removing the Sendmessage like in attached patch fixes the bug and is basically a no_op
Only if the window is on the same thread we are, but in that case we wouldn't deadlock in the first place. Perhaps SendNotifyMessage() could work there, but I don't know that code very well. Really, what this bug needs most at this point are tests.
Henri, any chance you send the first patch you made?
The GetAdapterLUID() part should already be fixed in current git. I may be able to do something about GetAdapterDisplayModeEx() next week.