Closed GoogleCodeExporter closed 9 years ago
I am not seeing this issue with Python 2.6 on OS/X 10.6.7
Original comment by coy...@gmail.com
on 30 Jun 2011 at 4:25
[deleted comment]
[deleted comment]
Absolutely no idea why it's not working for me, but it seems to have something
to do with how OS X defines focus models for applications. I've attached a diff
which sets the "activation policy" of the application to
NSApplicationActivationPolicyRegular, as described here:
http://developer.apple.com/library/mac/documentation/AppKit/Reference/NSRunningA
pplication_Class/Reference/Reference.html#//apple_ref/doc/c_ref/NSApplicationAct
ivationPolicyRegular
This appears to be necessary when simply running a python script without an app
bundle or Info.plist. I should note that the event handlers work as expected in
fullscreen without this patch; it's trying to run non-fullscreen terminal
scripts that seems to ignore event handlers.
Original comment by Matthew.C.Snyder@gmail.com
on 30 Jun 2011 at 11:53
Attachments:
somewhat late, but finally applied your patch
Original comment by evil.phillip@gmail.com
on 3 Jan 2012 at 7:24
Original issue reported on code.google.com by
Matthew.C.Snyder@gmail.com
on 30 Jun 2011 at 3:44