diff options
Diffstat (limited to 'Mac/Python/macglue.c')
-rw-r--r-- | Mac/Python/macglue.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c index 6006474..2528e25 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__ */ } |