diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-08 23:37:36 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-08 23:37:36 +0400 |
commit | 360a86d6586fa450d883edbe2278349e36448c4d (patch) | |
tree | 2d502381137bfd7c3f4aeac31fe8ded17e965926 | |
parent | 872a8ed1bf635a62a65d3b2a92b7d2fbb368eea1 (diff) |
Attempt to fix OS X build with 10.6 SDK, was not working due to recent fullscreen bug fixes.
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 2be89af8ebe..5e73001ccfe 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -44,6 +44,13 @@ #include "GHOST_SystemCocoa.h" #include "GHOST_Debug.h" +#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070 +/* Lion style fullscreen support when building with the 10.6 SDK */ +enum { + NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7, + NSFullScreenWindowMask = 1 << 14 +}; +#endif #pragma mark Cocoa window delegate object /* live resize ugly patch |