https://github.com/SFML/SFML/pull/825
I tried the git version but now it no longer goes to fullscreen.
The title and launcher are still visible during application.
My code.
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
int main()
{
sf::RenderWindow window{sf::VideoMode::getDesktopMode(),"Hello",sf::Style::Fullscreen};
while(window.isOpen()){
sf::Event event;
while(window.pollEvent(event))
switch (event.type) {
case sf::Event::Closed:
window.close();
break;
case sf::Event::KeyPressed:
switch(event.key.code){
case sf::Keyboard::Escape:
window.close();
break;
default:
break;
}
default:
break;
}
window.clear(sf::Color::Blue);
window.display();
}
return 0;
}