diff --git a/src/SFML/Window/Unix/WindowImplX11.cpp b/src/SFML/Window/Unix/WindowImplX11.cpp index 83925a08..c83520fa 100644 --- a/src/SFML/Window/Unix/WindowImplX11.cpp +++ b/src/SFML/Window/Unix/WindowImplX11.cpp @@ -1034,6 +1034,9 @@ void WindowImplX11::setVisible(bool visible) { XMapWindow(m_display, m_window); + if(m_fullscreen) + switchToFullscreen(); + XFlush(m_display); // Before continuing, make sure the WM has