aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/native/MacWindow.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newt/native/MacWindow.m b/src/newt/native/MacWindow.m
index 6d96e01fb..6d7978895 100644
--- a/src/newt/native/MacWindow.m
+++ b/src/newt/native/MacWindow.m
@@ -646,9 +646,13 @@ JNIEXPORT jlong JNICALL Java_jogamp_newt_driver_macosx_MacWindow_createWindow0
[myView lockFocus];
[myView unlockFocus];
+NS_DURING
// concurrent view rendering
+ // Available >= 10.6 - Makes the menubar disapear
[myWindow setAllowsConcurrentViewDrawing: YES];
[myView setCanDrawConcurrently: YES];
+NS_HANDLER
+NS_ENDHANDLER
// visible on front
[myWindow orderFront: myWindow];