Author: jackburton Date: 2010-03-26 18:34:44 +0100 (Fri, 26 Mar 2010) New Revision: 35959 Changeset: http://dev.haiku-os.org/changeset/35959/haiku Ticket: http://dev.haiku-os.org/ticket/4456 Modified: haiku/trunk/src/servers/app/ServerWindow.cpp Log: If SetFullScreen() was called on a hidden BDirectWindow, it wouldn't be set to fullscreen (since that code checks for a Screen object, and is null in that case). So we also call ResizeToFullScreen() in ServerWindow::_Show(), if needed. Fix ticket #4456. Modified: haiku/trunk/src/servers/app/ServerWindow.cpp =================================================================== --- haiku/trunk/src/servers/app/ServerWindow.cpp 2010-03-26 17:20:11 UTC (rev 35958) +++ haiku/trunk/src/servers/app/ServerWindow.cpp 2010-03-26 17:34:44 UTC (rev 35959) @@ -347,6 +347,9 @@ // instead of doing it from this thread. fDesktop->UnlockSingleWindow(); fDesktop->ShowWindow(fWindow); + if (fDirectWindowInfo && fDirectWindowInfo->IsFullScreen()) + _ResizeToFullScreen(); + fDesktop->LockSingleWindow(); }