Commit 3eaee8b8 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

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
(cherry picked from commit a9112101)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cb6b36b1
......@@ -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