Now makes sure the window is frontmost when entering full screen mode.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17819 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-13 13:29:42 +00:00
parent bcd6702900
commit c0b1668798

View File

@ -935,6 +935,9 @@ ShowImageWindow::ToggleFullScreen()
SetFlags(Flags() | B_NOT_RESIZABLE | B_NOT_MOVABLE);
fImageView->SetAlignment(B_ALIGN_CENTER, B_ALIGN_MIDDLE);
Activate();
// make the window frontmost
} else {
frame = fWindowFrame;