Commit 25ff8441 authored by David Fuhrmann's avatar David Fuhrmann

macosx: comment custom lion fullscreen mode on snow leopard

NSFullScreenWindowMask is not defined here.
parent 19760463
...@@ -661,6 +661,7 @@ ...@@ -661,6 +661,7 @@
[[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil]; [[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil];
} }
#ifdef MAC_OS_X_VERSION_10_7
-(NSArray*)customWindowsToEnterFullScreenForWindow:(NSWindow *)window -(NSArray*)customWindowsToEnterFullScreenForWindow:(NSWindow *)window
{ {
if (window == self) { if (window == self) {
...@@ -702,6 +703,7 @@ ...@@ -702,6 +703,7 @@
[[window animator] setFrame:frameBeforeLionFullscreen display:YES animate:YES]; [[window animator] setFrame:frameBeforeLionFullscreen display:YES animate:YES];
} completionHandler:nil]; } completionHandler:nil];
} }
#endif
- (void)windowWillEnterFullScreen:(NSNotification *)notification - (void)windowWillEnterFullScreen:(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