http://bugs.winehq.org/show_bug.cgi?id=34919
--- Comment #1 from Lam winehq@lam.pl 2013-11-20 03:33:03 CST --- Well, after grepping for ALT in source tree, I found a work-around that at least removed the grab releasing problem.
In dlls/winex11.drv/window.c I've removed the lines:
case SC_KEYMENU: /* prevent a simple ALT press+release from activating the system menu, * as that can get confusing on managed windows */ - if ((WCHAR)lparam) goto failed; /* got an explicit char */ - if (GetMenu( hwnd )) goto failed; /* window has a real menu */ - if (!(GetWindowLongW( hwnd, GWL_STYLE ) & WS_SYSMENU)) goto failed; /* no system menu */
I have absolutely no idea what I've done, but returning 0 instead of -1 to this signal (or whatever this is called) stops Wine from reacting to Alt combos with no apparent side effects (I mean, my Wine still can't play the game properly, but other symptoms aren't worse after this).
I'd really appreciate someone smarter than me explaining where this is initiated to stop raising this condition at all when the mouse is grabbed. Right now I feel I've hacked the symptom out, but somewhere there's a cause.