From 2e99a74df9ecfa18c4081cdcc82227e2e24f14b1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jun 2021 15:42:35 +1000 Subject: Cleanup: use '#if 0' for commented code-block --- intern/ghost/intern/GHOST_SystemCocoa.mm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'intern/ghost') 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 -- cgit v1.2.3