Make sure the window size limits are always up to date.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31558 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-07-14 12:09:51 +00:00
parent 095a1f5b8b
commit d99b6b083f
+1 -1
View File
@@ -893,6 +893,7 @@ MainWin::_SetupWindow()
|| previousSourceHeight != fSourceHeight
|| previousWidthAspect != fWidthAspect
|| previousHeightAspect != fHeightAspect)) {
_SetWindowSizeLimits();
_ResizeWindow(100);
}
@@ -1170,7 +1171,6 @@ MainWin::_ResizeWindow(int percent)
width = max_c(width, videoWidth);
height = height + videoHeight;
// _SetWindowSizeLimits();
ResizeTo(width - 1, height - 1);
}