From: Just van Rossum Date: Wed, 15 Dec 1999 14:55:16 +0000 (+0000) Subject: Fixed buglet in Application.do_suspendresume(), it took the wrong flag to determine... X-Git-Tag: v1.6a1~633 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a5eb04d479320fdf01829dfc8e35adf789cc837;p=thirdparty%2FPython%2Fcpython.git Fixed buglet in Application.do_suspendresume(), it took the wrong flag to determine suspend/resume -- jvr --- diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index 42ef1280d447..c073abd7f4d5 100644 --- a/Mac/Lib/FrameWork.py +++ b/Mac/Lib/FrameWork.py @@ -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