Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-24 08:42:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-24 08:53:26 +0300
commit2e99a74df9ecfa18c4081cdcc82227e2e24f14b1 (patch)
tree92b1c899183f07cb4da05de56b00779422768ad7 /intern/ghost
parent879b89e96722bf2ff7e20e94f4e10ed8770f3209 (diff)
Cleanup: use '#if 0' for commented code-block
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.mm6
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