summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--patches/sdl2-2.0.8.local.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/patches/sdl2-2.0.8.local.patch b/patches/sdl2-2.0.8.local.patch
index dc030117..cb64946a 100644
--- a/patches/sdl2-2.0.8.local.patch
+++ b/patches/sdl2-2.0.8.local.patch
@@ -1,17 +1,18 @@
diff -ru SDL2-2.0.8.orig/src/video/windows/SDL_windowskeyboard.c SDL2-2.0.8/src/video/windows/SDL_windowskeyboard.c
--- SDL2-2.0.8.orig/src/video/windows/SDL_windowskeyboard.c 2018-03-01 17:34:43.000000000 +0100
-+++ SDL2-2.0.8/src/video/windows/SDL_windowskeyboard.c 2020-10-05 00:37:25.684238476 +0200
-@@ -30,6 +30,10 @@
- #include <imm.h>
- #include <oleauto.h>
++++ SDL2-2.0.8/src/video/windows/SDL_windowskeyboard.c 2020-10-05 20:39:13.169351110 +0200
+@@ -28,7 +28,10 @@
+ #include "../../events/scancodes_windows.h"
+ #include <imm.h>
+-#include <oleauto.h>
++
+#ifndef CFS_FORCE_POSITION
+#define CFS_FORCE_POSITION 0x0020
+#endif
-+
+
#ifndef SDL_DISABLE_WINDOWS_IME
static void IME_Init(SDL_VideoData *videodata, HWND hwnd);
- static void IME_Enable(SDL_VideoData *videodata, HWND hwnd);
diff -ru SDL2-2.0.8.orig/src/video/windows/SDL_msctf.h SDL2-2.0.8/src/video/windows/SDL_msctf.h
--- SDL2-2.0.8.orig/src/video/windows/SDL_msctf.h 2018-03-01 17:34:43.000000000 +0100
+++ SDL2-2.0.8/src/video/windows/SDL_msctf.h 2020-10-04 12:38:34.746446128 +0200