[−][src]Function sdl2_sys::SDL_SetWindowInputFocus
pub unsafe extern "C" fn SDL_SetWindowInputFocus(
window: *mut SDL_Window
) -> c_int
\brief Explicitly sets input focus to the window.
You almost certainly want SDL_RaiseWindow() instead of this function. Use this with caution, as you might give focus to a window that's completely obscured by other windows.
\param window The window that should get the input focus
\return 0 on success, or -1 otherwise. \sa SDL_RaiseWindow()