Skip to content
Snippets Groups Projects
Commit 66e13cf1 authored by SteelT's avatar SteelT
Browse files

SDL:Auto grab input

parent 974a8e3e
No related branches found
No related tags found
2 merge requests!488Merge in next and don't billboard papersprites in GL,!416SDL:Auto grab input
...@@ -1319,6 +1319,9 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen) ...@@ -1319,6 +1319,9 @@ static SDL_bool Impl_CreateWindow(SDL_bool fullscreen)
return SDL_FALSE; return SDL_FALSE;
} }
SDL_RaiseWindow(window);
SDL_SetWindowGrab(window, SDL_TRUE);
// Renderer-specific stuff // Renderer-specific stuff
#ifdef HWRENDER #ifdef HWRENDER
if (rendermode == render_opengl) if (rendermode == render_opengl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment