Function sdl2_sys::SDL_GetWindowMouseGrab
source · pub unsafe extern "C" fn SDL_GetWindowMouseGrab(
window: *mut SDL_Window,
) -> SDL_bool
Expand description
Get a window’s mouse grab mode.
\param window the window to query \returns SDL_TRUE if mouse is grabbed, and SDL_FALSE otherwise.
\since This function is available since SDL 2.0.16.
\sa SDL_SetWindowKeyboardGrab \sa SDL_GetWindowGrab