Commit 761eabba authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix window sizing when entering lion fullscreen mode

parent 4323b825
......@@ -1120,6 +1120,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (![[VLCMain sharedInstance] activeVideoPlayback] || nativeVideoSize.width == 0. || nativeVideoSize.height == 0. || window != videoWindow)
return proposedFrameSize;
// needed when entering lion fullscreen mode
if( b_fullscreen )
return proposedFrameSize;
if( [[VLCCoreInteraction sharedInstance] aspectRatioIsLocked] )
{
NSRect videoWindowFrame = [videoWindow frame];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment