SDL:Auto grab input

This commit is contained in:
Steel Titanium 2018-12-22 23:28:59 -05:00
parent 974a8e3e2b
commit 66e13cf1cc

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)