aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/sdl-win32-fixes.diff (renamed from misc/sdl-win32-mouse-fixes.diff)14
1 files changed, 13 insertions, 1 deletions
diff --git a/misc/sdl-win32-mouse-fixes.diff b/misc/sdl-win32-fixes.diff
index faec492..2a4ff63 100644
--- a/misc/sdl-win32-mouse-fixes.diff
+++ b/misc/sdl-win32-fixes.diff
@@ -513,7 +513,19 @@ Index: src/video/windx5/SDL_dx5events.c
}
}
-@@ -840,7 +912,7 @@
+@@ -516,10 +588,7 @@
+
+ /* The keyboard is handled via DirectInput */
+ case WM_SYSKEYUP:
+- case WM_SYSKEYDOWN: {
+- /* Pass syskey to DefWindwoProc (ALT-F4, etc.) */
+- }
+- break;
++ case WM_SYSKEYDOWN:
+ case WM_KEYUP:
+ case WM_KEYDOWN: {
+ /* Ignore windows keyboard messages */;
+@@ -840,7 +909,7 @@
keysym->unicode = vkey;
#else
GetKeyboardState(keystate);