SDL:Auto grab input

This commit is contained in:
Steel Titanium 2018-12-22 23:28:59 -05:00
parent 974a8e3e2b
commit 66e13cf1cc
1 changed files with 3 additions and 0 deletions

View File

@ -1319,6 +1319,9 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen)
return SDL_FALSE;
}
SDL_RaiseWindow(window);
SDL_SetWindowGrab(window, SDL_TRUE);
// Renderer-specific stuff
#ifdef HWRENDER
if (rendermode == render_opengl)