Restore fullscreen of a non-visible Unix window

This commit is contained in:
Alec Iverson 2018-01-06 13:22:15 -07:00 committed by Lukas Dürrenberger
parent 341bc2a130
commit 6d122e96e1

View File

@ -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