StephanTLavavej / mingw-distro

MinGW distro build scripts.
494 stars 55 forks source link

sdl-clipcursor.patch should be rewritten properly and added upstream #12

Closed StephanTLavavej closed 5 years ago

StephanTLavavej commented 8 years ago

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.