Skip to main content

SDL_GetWindowMouseGrab

Function SDL_GetWindowMouseGrab 

Source
pub unsafe extern "C" fn SDL_GetWindowMouseGrab(
    window: *mut SDL_Window,
) -> bool
Expand description

Get a window’s mouse grab mode.

Parameter: window the window to query. Returns: true if mouse is grabbed, and false otherwise.

Thread Safety: This function should only be called on the main thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_GetWindowMouseRect See Also: SDL_SetWindowMouseRect See Also: SDL_SetWindowMouseGrab See Also: SDL_SetWindowKeyboardGrab