Imported ContainerWindow.cpp 1.38. This fixes bug #298.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18541 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1e8c0b3649
commit
4b66b0e0ee
@ -1106,6 +1106,14 @@ BContainerWindow::WorkspacesChanged(uint32, uint32)
|
||||
void
|
||||
BContainerWindow::ViewModeChanged(uint32 oldMode, uint32 newMode)
|
||||
{
|
||||
BView *view = FindView("MenuBar");
|
||||
if (view != NULL) {
|
||||
// make sure the draggable icon hides if it doesn't have space left anymore
|
||||
view = view->FindView("ThisContainer");
|
||||
if (view != NULL)
|
||||
view->FrameMoved(view->Frame().LeftTop());
|
||||
}
|
||||
|
||||
if (!fBackgroundImage)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user