I recently switched over to SFML2 (which I might say has a lot of great features) but while I was trying to get the mouse position in my sf::RenderWindow I noticed that the mouse position code had been rewritten, so as far as I can tell from the documentation the sf::mouse is supposed to return the mouse's position from the window it is focused in.
But when I tried it out, GetPosition would just return the mouse's position on the screen(0,0 was always top left of the screen regardless of what window the cursor was in) I also noticed you could get the position for a specific window but only for a sf::Window and not a sf::RenderWindow. Does anyone know of a way to make this work? I'd rather not write a huge workaround that gets the window's position and normalizes the mouse based on that.