diff --git a/src/MacVim/MMWindow.m b/src/MacVim/MMWindow.m index a966a85258..1440f0a8fd 100644 --- a/src/MacVim/MMWindow.m +++ b/src/MacVim/MMWindow.m @@ -168,8 +168,11 @@ - (IBAction)realToggleFullScreen:(id)sender { +#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7) // HACK! See toggleFullScreen: comment above. - [super toggleFullScreen:sender]; + if ([NSWindow instancesRespondToSelector:@selector(toggleFullScreen:)]) + [super toggleFullScreen:sender]; +#endif } @end // MMWindow