Commit 69d5d9ae authored by David Fuhrmann's avatar David Fuhrmann

macosx: lion fullscreen: show fs controller not before animation is finished

parent 2f6670cc
......@@ -95,6 +95,7 @@ enum {
- (void)setRestorable:(BOOL)b_value;
- (void)toggleFullScreen:(id)id_value;
- (void)windowWillEnterFullScreen:(NSNotification *)notification;
- (void)windowDidEnterFullScreen:(NSNotification *)notification;
- (void)windowWillExitFullScreen:(NSNotification *)notification;
@end
......
......@@ -196,6 +196,7 @@
/* lion's native fullscreen handling */
- (void)windowWillEnterFullScreen:(NSNotification *)notification;
- (void)windowDidEnterFullScreen:(NSNotification *)notification;
- (void)windowWillExitFullScreen:(NSNotification *)notification;
@end
......
......@@ -2095,8 +2095,6 @@ 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];
i_originalLevel = [self level];
......@@ -2123,6 +2121,12 @@ static VLCMainWindow *_o_sharedInstance = nil;
[self setMovableByWindowBackground: NO];
}
- (void)windowDidEnterFullScreen:(NSNotification *)notification
{
[o_fspanel setVoutWasUpdated: (int)[[self screen] displayID]];
[o_fspanel setActive: nil];
}
- (void)windowWillExitFullScreen:(NSNotification *)notification
{
......
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