More redraw fixes

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2002-12-03 00:23:04 +00:00
parent 63034805fd
commit 68bb610bbc
+3 -4
View File
@@ -175,12 +175,11 @@ void WindowBorder::MouseMoved(BPoint pt, int32 buttons, int32 modifiers)
// SlideTab returns how much things were moved, and currently
// supports just the x direction, so get the value so
// we can invalidate the proper area.
decor->SlideTab(dx,0);
BRegion r(frame),*footprint=decor->GetFootprint();
parent->Invalidate(footprint->Frame());
layerlock->Lock();
parent->Invalidate(decor->SlideTab(dx,0));
parent->RequestDraw();
decor->DrawTab();
delete footprint;
layerlock->Unlock();
}
}
if(is_moving_window)