(svn r199) -Fix: [993374] Pressing alt locks the game - sort of a bug. I hope I didn't break anything :O
--- a/win32.c Fri Sep 10 23:20:14 2004 +0000
+++ b/win32.c Sat Sep 11 00:19:53 2004 +0000
@@ -307,14 +307,14 @@
break;
- case WM_SYSKEYDOWN:
+ case WM_SYSKEYDOWN: /* user presses F10 or Alt, both activating the title-menu */
switch(wParam) {
- case VK_RETURN:
+ case VK_RETURN: /* Full Screen */
MakeWindow(!_wnd.fullscreen);
return 0;
- default:
+ default: /* just ALT or ALT in combination with something else */
_pressed_key = MapWindowsKey(wParam) << 16;
- break;
+ return 0; // game doesn't have a title-bar, so just ignore that
}
break;
case WM_NCMOUSEMOVE: