http://bugs.winehq.org/show_bug.cgi?id=21918
--- Comment #12 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-06 10:27:19 CST --- (In reply to comment #11)
(In reply to comment #10)
It doesn't matter what a WM does on Alt key press/release, Wine shouldn't activate it's system menu in that case, because obviously for managed windows window decorations including the system menu are supposed to be drawn by a WM.
Could you post a screenshot of a problem caused by removing the code I mentioned and steps to reproduce? That would help me a lot to see what you're trying to describe.
Do you understand what is the system window menu? Also do you understand that a native WM might have another idea where/how to draw it on a managed window, and what is it supposed to contain in comparison to Wine?