]> granicus.if.org Git - python/commitdiff
Fixed buglet in Application.do_suspendresume(), it took the wrong flag to determine...
authorJust van Rossum <just@lettererror.com>
Wed, 15 Dec 1999 14:55:16 +0000 (14:55 +0000)
committerJust van Rossum <just@lettererror.com>
Wed, 15 Dec 1999 14:55:16 +0000 (14:55 +0000)
Mac/Lib/FrameWork.py

index 42ef1280d4470d6118a162b055d4336ad7b5b542..c073abd7f4d5cd47626764a902384a669ff29b4e 100644 (file)
@@ -379,7 +379,7 @@ class Application:
                wid = FrontWindow()
                if wid and self._windows.has_key(wid):
                        window = self._windows[wid]
-                       window.do_activate(modifiers & 1, event)
+                       window.do_activate(message & 1, event)
        
        def do_kHighLevelEvent(self, event):
                (what, message, when, where, modifiers) = event