fixed resizing of hidden windows
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12953 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -413,7 +413,15 @@ WinBorder::ResizeBy(float x, float y)
|
||||
if (fDecorator)
|
||||
fDecorator->ResizeBy(x, y);
|
||||
|
||||
resize_layer(x, y);
|
||||
if (IsHidden()) {
|
||||
// TODO: See large comment in MoveBy()
|
||||
fFrame.right += x;
|
||||
fFrame.bottom += y;
|
||||
|
||||
fTopLayer->resize_layer(x, y);
|
||||
} else {
|
||||
resize_layer(x, y);
|
||||
}
|
||||
|
||||
if (Window()) {
|
||||
// send a message to the client informing about the changed size
|
||||
|
||||
Reference in New Issue
Block a user