From d2c937abe3b8e3eda67322372cd14de9a538e163 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 9 Mar 2014 18:25:32 +0000 Subject: [PATCH] Testing --- dgl/src/Window.cpp | 2 +- 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 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)