Skip to content

Commit 5d0be58

Browse files
committed
Added support for MacOSX backend for PyPy
1 parent 921d4f4 commit 5d0be58

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Added support for MacOSX backend for PyPy
2+
-----------------------------------------
3+
4+
Fixed issue with MacOSX backend for PyPy and also for non-framework Python
5+
installations.

src/_macosx.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2586,6 +2586,7 @@ static bool verify_framework(void)
25862586
have started */
25872587
#ifdef COMPILING_FOR_10_6
25882588
NSApp = [NSApplication sharedApplication];
2589+
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
25892590
NSApplicationActivationPolicy activationPolicy = [NSApp activationPolicy];
25902591
switch (activationPolicy) {
25912592
case NSApplicationActivationPolicyRegular:

0 commit comments

Comments
 (0)