Get the mouse confinement rectangle of a window.
Defined in SDL_video.h
const SDL_Rect * SDL_GetWindowMouseRect(SDL_Window * window);
SDL_Window * | window | The window to query. |
(const SDL_Rect *) Returns A pointer to the mouse confinement rectangle of a window, or NULL if there isn't one.
This function is available since SDL 2.0.18.