Hi!
If I get the position of window with window.getPosition() method, I received a different value that sometimes changes it;
window.create(sf::VideoMode(windowSize.x, windowSize.y, colordepth), windowTitle, (fullscreen ? sf::Style::Fullscreen : sf::Style::Resize|sf::Style::Close));
window.setPosition(sf::Vector2i(50,50));
std::cout<<window.getPosition().x<<std::endl; // return sometimes 10, other 640
handle = window.getSystemHandle();
window.setFramerateLimit(framerate);