Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm7
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