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

Cosmetic change to event handling.

parent 1e8557a9
......@@ -310,15 +310,23 @@ PyMac_HandleEvent(evp)
{
#ifdef __MWERKS__
{
int siouxdidit;
/* If SIOUX wants it we're done */
(void)SIOUXHandleOneEvent(evp);
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__ */
}
......
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