diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-03-23 03:48:26 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-03-23 03:48:26 +0400 |
commit | a333ef01001bf034b644ab193521b930cc3d4e43 (patch) | |
tree | aa1c913065b205214c5b0c4a77d8bf91c50c15f3 | |
parent | ee6fe984ffb0d700ac91ab58283467d6957d068a (diff) |
GHOST_Cocoa, let new fullscreen also appear on 10.6 deployed builds
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 02abf7650e5..e4f859217cd 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -662,7 +662,7 @@ GHOST_TSuccess GHOST_SystemCocoa::init() [windowMenu addItemWithTitle:@"Zoom" action:@selector(performZoom:) keyEquivalent:@""]; -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 // make it build with 10.6 deployment target, but as it is not available in 10.6, it will get weaklinked menuItem = [windowMenu addItemWithTitle:@"Enter Full Screen" action:@selector(toggleFullScreen:) keyEquivalent:@"f" ]; [menuItem setKeyEquivalentModifierMask:NSCommandKeyMask]; #endif diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 5a79fcf52bc..e1f3f816205 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -623,7 +623,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa( [m_window registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType, NSStringPboardType, NSTIFFPboardType, nil]]; -#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 [NSApp setPresentationOptions:(NSApplicationPresentationFullScreen)]; [m_window setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary]; #endif |