http://bugs.winehq.org/show_bug.cgi?id=27406
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2011-06-07 07:15:56 CDT --- (In reply to comment #4)
(In reply to comment #3)
Looks ok in principle, but note that device_process_message() also accesses device->filter_messages and device->focus_window.
The device_process_message() call already wasn't protected by wined3d_mutex, so I think the patch doesn't change anything here.
You're right, the patch should be ok in that sense then. I do think those variables need some protection, but it's a separate issue then.