calling _ResizeBy with zero offset doesn't do anything
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14731 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
19ae7ecce0
commit
7dd038f405
@ -134,8 +134,7 @@ WinBorder::WinBorder(const BRect &frame,
|
||||
GetRootLayer()->GetDesktop()->ScreenAt(0)->GetMode(width, height, colorSpace, frequency);
|
||||
_ResizeBy(width - frame.Width(), height - frame.Height());
|
||||
}
|
||||
} else
|
||||
_ResizeBy(0, 0);
|
||||
}
|
||||
|
||||
#ifndef NEW_CLIPPING
|
||||
RebuildFullRegion();
|
||||
|
Loading…
x
Reference in New Issue
Block a user