diff --git a/src/SDL2.cs b/src/SDL2.cs index e3a6504..f3b047e 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -1387,6 +1387,11 @@ namespace SDL2 IntPtr parent_window ); + /* window refers to an SDL_Window* */ + /* Available in 2.0.5 or higher */ + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern int SDL_SetWindowInputFocus(IntPtr window); + /// /// Use this function to retrieve the data pointer associated with a window. ///