work around for layers not being moved that have not yet been added to the tree. See WinBorder::MoveTo for the explaination. The same problem should be at other places and most likely for normal views as well. This fixes BWindow::MoveXX() when it is not yet Show()n

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12500 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-04-28 23:56:40 +00:00
parent 879fd19be5
commit 1596a167c0
5 changed files with 56 additions and 24 deletions
-1
View File
@@ -1911,7 +1911,6 @@ void BWindow::MoveBy(float dx, float dy)
void BWindow::MoveTo( BPoint point )
{
printf("BWindow::MoveTo(%.1f, %.1f)\n", point.x, point.y);
Lock();
if (fFrame.left != point.x || fFrame.top != point.y) {