ok, I'm having a little bit of problem with this function.
It seems to warp my mouse to:
x coord: middle of the screen
y coord: middle of the screen - mouse height
that is for a 1280x720 window I get the mouse position 640, 340. I don't know if it is an SFML bug or I've done something wrong or it is just the windowing system (Kubuntu 11.04/ KDE), but it is clear that it warps my mouse to that location, because if I move the mouse in a way that in 33 ms (one frame) it moves more than 20-30 pixels then eventually my camera goes down as opposed to always going upwards because of that.
Did anyone have issues like that?
or how can I get the height of the cursor so that I can warp it to the correct position?
Best regards,
Yours3!f