Commit 38e97666 authored by Jack Jansen's avatar Jack Jansen

Cosmetic change to event handling.

parent 1e8557a9
...@@ -310,15 +310,23 @@ PyMac_HandleEvent(evp) ...@@ -310,15 +310,23 @@ PyMac_HandleEvent(evp)
{ {
#ifdef __MWERKS__ #ifdef __MWERKS__
{
int siouxdidit;
/* If SIOUX wants it we're done */ /* If SIOUX wants it we're done */
(void)SIOUXHandleOneEvent(evp); siouxdidit = SIOUXHandleOneEvent(evp);
if ( siouxdidit )
return;
}
#else #else
/* Other compilers are just unlucky: we only weed out clicks in other applications */ /* Other compilers are just unlucky: we only weed out clicks in other applications */
if ( evp->what == mouseDown ) { if ( evp->what == mouseDown ) {
WindowPtr wp; WindowPtr wp;
if ( FindWindow(evp->where, &wp) == inSysWindow ) if ( FindWindow(evp->where, &wp) == inSysWindow ) {
SystemClick(evp, wp); SystemClick(evp, wp);
return;
}
} }
#endif /* !__MWERKS__ */ #endif /* !__MWERKS__ */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment