Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Fullscreen Style  (Read 2829 times)

0 Members and 1 Guest are viewing this topic.

Heryon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Fullscreen Style
« 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.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11039
    • View Profile
    • development blog
    • Email
Re: Fullscreen Style
« Reply #1 on: February 02, 2017, 10:29:44 pm »
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
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/