Hi, hope you don't mind hijacking this thread for a question.
I'm using SFML2 from Github, and I have a problem on OS X with SetCursorPosition.
If I run a fullscreen mode which is not the native resolution, SetCursorPosition still places the cursor as if it was still using that native resolution. I.e. if my screen is 1024x768, but I use a 800x600 fullscreen mode, and I call SetCursorPosition(400, 300), the cursor is placed at 312/234.
This is specific to Mac, so I get different (and more expected) behavior on other platforms.
Any ideas?
Thanks!
EDIT: Sorry, it's actually the other way around: fixed the example.