Only redraw visible region.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42568 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-08-04 05:53:26 +00:00
parent 57e0263ceb
commit 38a8938d9f

View File

@ -2113,6 +2113,7 @@ Window::DetachFromWindowStack(bool ownStackNeeded)
if (remainingTop != NULL) {
dirty.Include(&remainingTop->VisibleRegion());
dirty.IntersectWith(&remainingTop->VisibleRegion());
fDesktop->RebuildAndRedrawAfterWindowChange(remainingTop, dirty);
}
return true;