[−][src]Function sdl2_sys::SDL_SetWindowGrab
pub unsafe extern "C" fn SDL_SetWindowGrab(
window: *mut SDL_Window,
grabbed: SDL_bool
)
\brief Set a window's input grab mode.
\param window The window for which the input grab mode should be set. \param grabbed This is SDL_TRUE to grab input, and SDL_FALSE to release input.
If the caller enables a grab while another window is currently grabbed, the other window loses its grab in favor of the caller's window.
\sa SDL_GetWindowGrab()