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