Function SDL_GetWindowMouseRect

pub unsafe extern "C" fn SDL_GetWindowMouseRect(
    window: *mut SDL_Window,
) -> *const SDL_Rect
Available on crate feature dep_sdl2 only.
Expand description

Get the mouse confinement rectangle of a window.

\param window The window to query \returns A pointer to the mouse confinement rectangle of a window, or NULL if there isn’t one.

\since This function is available since SDL 2.0.18.

\sa SDL_SetWindowMouseRect