Hi everyone.
I've recently started with SFML and I've got a problem. I was looking for solving but it hard to describe what exactly I want to find. When I set the window to fullscreen, sometimes there is black rectangle on top of window. It looks like the screen has been moved down, because I can't insert even a cursor in this area.
Printscreens:
what I want:
what it looks like if problem occurs:
This problem occurs randomly, sometimes few times in a row, sometimes it hard to catch the problem.
There is no matter how the code looks like, but every time started like this:
sf::VideoMode desktop = sf::VideoMode::getDesktopMode();
sf::RenderWindow window(desktop, "SFML window", sf::Style::Fullscreen);
window.setMouseCursorVisible(false);
window.setFramerateLimit(60);
I don't know if it is problem connected with the SFML or with my system/screen drivers. I use Linux Mint and I installed library by apt-get install.