diff --git a/patches/sdl2-2.0.8.local.patch b/patches/sdl2-2.0.8.local.patch index dc03011..cb64946 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 - #include ++++ 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 +-#include ++ +#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