From d99b6b083f58261a9baaf522a72b886857d5b8a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 14 Jul 2009 12:09:51 +0000 Subject: [PATCH] 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 --- src/apps/mediaplayer/MainWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mediaplayer/MainWin.cpp b/src/apps/mediaplayer/MainWin.cpp index 7c61eba49e..8b44e4f25f 100644 --- a/src/apps/mediaplayer/MainWin.cpp +++ b/src/apps/mediaplayer/MainWin.cpp @@ -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); }