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:
@@ -935,6 +935,9 @@ ShowImageWindow::ToggleFullScreen()
|
|||||||
|
|
||||||
SetFlags(Flags() | B_NOT_RESIZABLE | B_NOT_MOVABLE);
|
SetFlags(Flags() | B_NOT_RESIZABLE | B_NOT_MOVABLE);
|
||||||
fImageView->SetAlignment(B_ALIGN_CENTER, B_ALIGN_MIDDLE);
|
fImageView->SetAlignment(B_ALIGN_CENTER, B_ALIGN_MIDDLE);
|
||||||
|
|
||||||
|
Activate();
|
||||||
|
// make the window frontmost
|
||||||
} else {
|
} else {
|
||||||
frame = fWindowFrame;
|
frame = fWindowFrame;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user