[vlc-commits] macosx: comment custom lion fullscreen mode on snow leopard
David Fuhrmann
git at videolan.org
Fri Feb 28 14:50:14 CET 2014
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Feb 28 14:49:10 2014 +0100| [25ff844112e663c7e9a8977d6b3317ec1e671311] | committer: David Fuhrmann
macosx: comment custom lion fullscreen mode on snow leopard
NSFullScreenWindowMask is not defined here.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25ff844112e663c7e9a8977d6b3317ec1e671311
---
modules/gui/macosx/Windows.m | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 2c56cc5..062b0ea 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -661,6 +661,7 @@
[[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil];
}
+#ifdef MAC_OS_X_VERSION_10_7
-(NSArray*)customWindowsToEnterFullScreenForWindow:(NSWindow *)window
{
if (window == self) {
@@ -702,6 +703,7 @@
[[window animator] setFrame:frameBeforeLionFullscreen display:YES animate:YES];
} completionHandler:nil];
}
+#endif
- (void)windowWillEnterFullScreen:(NSNotification *)notification
{
More information about the vlc-commits
mailing list