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:
parent
57e0263ceb
commit
38a8938d9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user