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:
@@ -1835,18 +1835,7 @@ BWindow::ResizeBy(float dx, float dy)
|
|||||||
fLink->Attach<float>(dy);
|
fLink->Attach<float>(dy);
|
||||||
fLink->Flush();
|
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));
|
fFrame.SetRightBottom(fFrame.RightBottom() + BPoint(dx, dy));
|
||||||
top_view->ResizeBy(dx, dy);
|
|
||||||
}
|
}
|
||||||
Unlock();
|
Unlock();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user