commit d2c937abe3b8e3eda67322372cd14de9a538e163 parent 2132491f621aff4234451a670bbb88ec116ab973 Author: falkTX <falktx@gmail.com> Date: Sun, 9 Mar 2014 18:25:07 +0000 Testing Diffstat:
M | dgl/src/Window.cpp | | | 2 | +- |
M | dgl/src/pugl/pugl_osx.m | | | 3 | +++ |
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git 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 @@ -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)