SFML community forums
Help => Window => Topic started by: Heryon on February 02, 2017, 09:21:24 pm
-
Hi, I wanted to know : is
sf::Style::Fullscreen
a real fullscreen or a windowed fullscreen ? Because it lets the mouse get out of the window, but I thought it was only for windowed fullscreen.
-
Mouse capturing is not a property of fullscreen mode. sf::Fullscreen is proper fullscreen. You can get a borderless window mode, by using sf::Style::None and setting the proper window size.
For mouse capturing see the dedicated function setMouseCursorGrabbed (http://www.sfml-dev.org/documentation/2.4.1/classsf_1_1Window.php#a5b4ef8ede77531e17b7a0287fa6ff9ce)