Commit a9112101 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: make sure that the fullscreen controller is always available when...

macosx: make sure that the fullscreen controller is always available when playing a video in lion's fullscreen mode
parent bd4d1b69
......@@ -1770,6 +1770,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_video_view setFrame: [[self contentView] frame]];
b_fullscreen = YES;
[o_fspanel setVoutWasUpdated: (int)[[self screen] displayID]];
[o_fspanel setActive: nil];
[self recreateHideMouseTimer];
......
......@@ -1359,8 +1359,8 @@ unsigned int CocoaKeyToVLC( unichar i_key )
[o_mainwindow performSelectorOnMainThread:@selector(enterFullscreen) withObject:nil waitUntilDone:NO];
vlc_object_release( p_input );
}
}
else
}
else
{
// leaving fullscreen is always allowed
[o_mainwindow performSelectorOnMainThread:@selector(leaveFullscreen) withObject:nil waitUntilDone:NO];
......
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