8000 Merge pull request #6521 from cimarronm/issue_6429_fix · matplotlib/matplotlib@eccc53a · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit eccc53a

Browse files
authored
Merge pull request #6521 from cimarronm/issue_6429_fix
Issue #6429 fix
2 parents 5e65908 + 1298bd7 commit eccc53a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/_macosx.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1971,6 +1971,9 @@ - (void)launch:(NSNotification*)notification
19711971
CFMachPortRef port;
19721972
CFRunLoopSourceRef source;
19731973
NSDictionary* dictionary = [notification userInfo];
1974+
if (! [[dictionary valueForKey:@"NSApplicationName"]
1975+
isEqualToString:@"Python"])
1976+
return;
19741977
NSNumber* psnLow = [dictionary valueForKey: @"NSApplicationProcessSerialNumberLow"];
19751978
NSNumber* psnHigh = [dictionary valueForKey: @"NSApplicationProcessSerialNumberHigh"];
19761979
ProcessSerialNumber psn;

0 commit comments

Comments
 (0)
0