diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp index dd3b4ea7..c4b3a9d8 100644 --- a/dgl/src/Window.cpp +++ b/dgl/src/Window.cpp @@ -105,7 +105,7 @@ public: xDisplay(nullptr), xWindow(0) #elif defined(DGL_OS_MAC) - fNeedsIdle(true) // FIXME - set false? + fNeedsIdle(false) #else _dummy('\0') #endif diff --git a/dgl/src/pugl/pugl_osx.m b/dgl/src/pugl/pugl_osx.m index 706e8bde..a60673df 100644 --- a/dgl/src/pugl/pugl_osx.m +++ b/dgl/src/pugl/pugl_osx.m @@ -358,6 +358,9 @@ puglCreate(PuglNativeWindow parent, [NSAutoreleasePool new]; [NSApplication sharedApplication]; + [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; + [NSApp finishLaunching]; + NSString* titleString = [[NSString alloc] initWithBytes:title length:strlen(title)