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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user