A call to SetSizeLimits() can change the window frame, so it's now updated, too (a separate FrameResized() message is sent anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13742 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -998,7 +998,9 @@ BWindow::SetSizeLimits(float minWidth, float maxWidth,
|
||||
if (fLink->FlushWithReply(code) == B_OK
|
||||
&& code == SERVER_TRUE) {
|
||||
// read the values that were really enforced on
|
||||
// the server side
|
||||
// the server side (the window frame could have
|
||||
// been changed, too)
|
||||
fLink->Read<BRect>(&fFrame);
|
||||
fLink->Read<float>(&fMinWidth);
|
||||
fLink->Read<float>(&fMaxWidth);
|
||||
fLink->Read<float>(&fMinHeight);
|
||||
|
||||
Reference in New Issue
Block a user