Check if the dirty region is valid. Part of #7896.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42547 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1247,7 +1247,8 @@ DefaultDecorator::_ResizeBy(BPoint offset, BRegion* dirty)
|
||||
if (fTitleBarRect.IsValid()) {
|
||||
if (fTabList.CountItems() > 1) {
|
||||
_DoTabLayout();
|
||||
dirty->Include(fTitleBarRect);
|
||||
if (dirty != NULL)
|
||||
dirty->Include(fTitleBarRect);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user