From: Jack Jansen Date: Fri, 10 Nov 1995 14:53:00 +0000 (+0000) Subject: Cosmetic change to event handling. X-Git-Tag: v1.4b1~494 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38e976665d8a8b7c12bb0fc2ec96342f747332dd;p=thirdparty%2FPython%2Fcpython.git Cosmetic change to event handling. --- diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 600647473434..2528e2538c85 100644 --- a/Mac/Python/macglue.c +++ b/Mac/Python/macglue.c @@ -310,15 +310,23 @@ PyMac_HandleEvent(evp) { #ifdef __MWERKS__ - /* If SIOUX wants it we're done */ - (void)SIOUXHandleOneEvent(evp); + { + int siouxdidit; + + /* If SIOUX wants it we're done */ + siouxdidit = SIOUXHandleOneEvent(evp); + if ( siouxdidit ) + return; + } #else /* Other compilers are just unlucky: we only weed out clicks in other applications */ if ( evp->what == mouseDown ) { WindowPtr wp; - if ( FindWindow(evp->where, &wp) == inSysWindow ) + if ( FindWindow(evp->where, &wp) == inSysWindow ) { SystemClick(evp, wp); + return; + } } #endif /* !__MWERKS__ */ }