http://bugs.winehq.org/show_bug.cgi?id=21918
--- Comment #11 from Alex Henrie alexhenrie24@gmail.com 2011-12-06 10:09:17 CST --- (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.
F10 is supposed to activate the application's window menu, which it already does.
Yes, that's true in most cases. However, on applications without a menu (like Notepad++), SC_KEYMENU is not sent when F10 is pressed, which is the cause of this bug.