On Oct 10, 2013, at 3:11 AM, Phil Krylov wrote:
Every time I press Cmd-Space to switch keyboard layouts, Wine activates menu as if I would have pressed Alt, so I have to press Command once again to exit it. It does not happen in Windows, though, when I use Alt-Shift to switch layouts, so the real problem is not related to Alt interpretation of Cmd, but to incorrect emulation of Windows behaviour when a keyboard layout switch hotkey is pressed.
Does the attached patch help?
By the way, you should file a bug report about this issue so that it doesn't get lost.
Regards, Ken