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:
Stephan Aßmus
2005-06-04 11:18:30 +00:00
parent f9e3895bf2
commit 6a2575c9d2
2 changed files with 28 additions and 12 deletions
+9 -1
View File
@@ -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