From 6d122e96e1367aa9159122712f23d2c8074184e7 Mon Sep 17 00:00:00 2001 From: Alec Iverson Date: Sat, 6 Jan 2018 13:22:15 -0700 Subject: [PATCH] Restore fullscreen of a non-visible Unix window --- src/SFML/Window/Unix/WindowImplX11.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SFML/Window/Unix/WindowImplX11.cpp b/src/SFML/Window/Unix/WindowImplX11.cpp index 83925a081..c83520fa4 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