Hello, I'm using SFML with Ogre. I'm taking the handle like this:
size_t handle;
OgreWindow->getCustomAttribute("WINDOW", &handle);
sf::Window winHandle;
winHandle.Create(handle);
Now I need to hide cursor and move it to the center of the window:
winHandle.SetCursorPosition(GetWidth()/2, GetHeight()/2);
winHandle.ShowMouseCursor(false);
But nothing happens. Native SFML events work fine. What's wrong is there?