The window is not supposed to resize the top level view. This removes the

"look-through" area in Terminal, and probably ShowImage as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13743 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-07-18 10:30:29 +00:00
parent 39d30137dc
commit 4821aac375

View File

@ -1835,18 +1835,7 @@ BWindow::ResizeBy(float dx, float dy)
fLink->Attach<float>(dy);
fLink->Flush();
/* int32 code;
if (fLink->FlushWithReply(code) == B_OK
&& code == SERVER_TRUE) {
fLink->Read<float>(&dx);
fLink->Read<float>(&dy);
fFrame.SetRightBottom(fFrame.LeftTop() + BPoint(dx, dy));
top_view->ResizeTo(dx, dy);
}*/
fFrame.SetRightBottom(fFrame.RightBottom() + BPoint(dx, dy));
top_view->ResizeBy(dx, dy);
}
Unlock();
}