Wraps SDL_SetWindowMouseRect (from SDL 2.0.18) which sets or resets the window's mouse confinement rectangle
dsdl2.Rect specifying the rectangle in window coordinate space to confine the mouse pointer in; null to reset the confinement
dsdl2.SDLException if failed to set or reset the confinement
See Implementation
Wraps SDL_SetWindowMouseRect (from SDL 2.0.18) which sets or resets the window's mouse confinement rectangle