diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:42:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:53:26 +0300 |
commit | 2e99a74df9ecfa18c4081cdcc82227e2e24f14b1 (patch) | |
tree | 92b1c899183f07cb4da05de56b00779422768ad7 /intern/ghost | |
parent | 879b89e96722bf2ff7e20e94f4e10ed8770f3209 (diff) |
Cleanup: use '#if 0' for commented code-block
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 6ddb7f031f5..f0cc8946215 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -553,10 +553,12 @@ GHOST_TSuccess GHOST_SystemCocoa::init() // ProcessSerialNumber psn; // Carbon stuff to move window & menu to foreground - /*if (!GetCurrentProcess(&psn)) { +#if 0 + if (!GetCurrentProcess(&psn)) { TransformProcessType(&psn, kProcessTransformToForegroundApplication); SetFrontProcess(&psn); - }*/ + } +#endif @autoreleasepool { [NSApplication sharedApplication]; // initializes NSApp |