sdl-clipcursor.patch is a micro-feature, allowing the mouse cursor to be clipped to a sub-region of the window. (This is useful when letterboxing/pillarboxing in fullscreen.) It's implemented with hideous global variables, because I didn't know how to create a proper API in SDL.
It would be awesome if this could be added as an official feature to SDL.
sdl-clipcursor.patch
is a micro-feature, allowing the mouse cursor to be clipped to a sub-region of the window. (This is useful when letterboxing/pillarboxing in fullscreen.) It's implemented with hideous global variables, because I didn't know how to create a proper API in SDL.It would be awesome if this could be added as an official feature to SDL.