[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Mac OS issues



Yep. That fixed it on here (r950). Thanky :)

--Noah
On Sep 22, 2006, at 5:47 PM, Bob Ippolito wrote:

On 9/22/06, Noah Kantrowitz <kantrn@xxxxxxx> wrote:
Has anyone else seen problems where when running a pygame app under
pythonw, any click (left or right) on the Dock icon will cause the
script to lock up, follow about 5 seconds later by a bus error?

I can reproduce that. This seems to fix it, but it might break on older SDL. Not too concerned about that personally:

Index: lib/macosx.py
===================================================================
--- lib/macosx.py (revision 950)
+++ lib/macosx.py (working copy)
@@ -44,7 +44,6 @@
win.retain()
NSNotificationCenter.defaultCenter ().removeObserver_name_object_(
self, NSWindowDidUpdateNotification, None)
- self.release()


def setIcon(app):
    try:

-bob