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. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35959 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2789b3911a
commit
8ce4644fbd
@ -347,6 +347,9 @@ ServerWindow::_Show()
|
||||
// instead of doing it from this thread.
|
||||
fDesktop->UnlockSingleWindow();
|
||||
fDesktop->ShowWindow(fWindow);
|
||||
if (fDirectWindowInfo && fDirectWindowInfo->IsFullScreen())
|
||||
_ResizeToFullScreen();
|
||||
|
||||
fDesktop->LockSingleWindow();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user