More redraw fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -175,12 +175,11 @@ void WindowBorder::MouseMoved(BPoint pt, int32 buttons, int32 modifiers)
|
|||||||
// SlideTab returns how much things were moved, and currently
|
// SlideTab returns how much things were moved, and currently
|
||||||
// supports just the x direction, so get the value so
|
// supports just the x direction, so get the value so
|
||||||
// we can invalidate the proper area.
|
// we can invalidate the proper area.
|
||||||
decor->SlideTab(dx,0);
|
layerlock->Lock();
|
||||||
BRegion r(frame),*footprint=decor->GetFootprint();
|
parent->Invalidate(decor->SlideTab(dx,0));
|
||||||
parent->Invalidate(footprint->Frame());
|
|
||||||
parent->RequestDraw();
|
parent->RequestDraw();
|
||||||
decor->DrawTab();
|
decor->DrawTab();
|
||||||
delete footprint;
|
layerlock->Unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(is_moving_window)
|
if(is_moving_window)
|
||||||
|
|||||||
Reference in New Issue
Block a user