]> git.sesse.net Git - vlc/commitdiff
macosx: comment custom lion fullscreen mode on snow leopard
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 28 Feb 2014 13:49:10 +0000 (14:49 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 28 Feb 2014 13:49:10 +0000 (14:49 +0100)
NSFullScreenWindowMask is not defined here.

modules/gui/macosx/Windows.m

index 2c56cc5a9b676ee3432284accf3c38a3425d4caa..062b0eab5a8bdd8f2c1adc39f89dbfff56d9ef82 100644 (file)
     [[[VLCMainWindow sharedInstance] fsPanel] setNonActive:nil];
 }
 
+#ifdef MAC_OS_X_VERSION_10_7
 -(NSArray*)customWindowsToEnterFullScreenForWindow:(NSWindow *)window
 {
     if (window == self) {
         [[window animator] setFrame:frameBeforeLionFullscreen display:YES animate:YES];
     } completionHandler:nil];
 }
+#endif
 
 - (void)windowWillEnterFullScreen:(NSNotification *)notification
 {