Function sdl2_sys::SDL_GetWindowMouseRect
source · pub unsafe extern "C" fn SDL_GetWindowMouseRect(
window: *mut SDL_Window,
) -> *const SDL_Rect
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