Function SDL_GetWindowMouseRect
pub unsafe extern "C" fn SDL_GetWindowMouseRect(
window: *mut SDL_Window,
) -> *const SDL_Rect
Available on crate feature
dep_sdl3
only.Expand description
Get the mouse confinement rectangle of a window.
§Parameters
window
: the window to query.
§Return value
Returns a pointer to the mouse confinement rectangle of a window, or NULL if there isn’t one.
§Thread safety
This function should only be called on the main thread.
§Availability
This function is available since SDL 3.2.0.