Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!oliveb!amiga!kodiak
From: kodiak@amiga.UUCP (Robert R. Burns)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Question on input event handlers .. can you modify the event like this
Message-ID: <2082@amiga.UUCP>
Date: 9 May 88 18:05:06 GMT
References: <8805090355.AA04201@cory.Berkeley.EDU>
Reply-To: kodiak@tooter.UUCP (Robert Burns)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 19

In article <8805090355.AA04201@cory.Berkeley.EDU> dillon@CORY.BERKELEY.EDU (Matt Dillon) writes:
>
>	Can I modify the event?  That is, instead of removing it from
>	the linked list, can I simply set the ie_Class to IECLASS_NULL ?
>
>						-Matt

Yes.

Input events propagate up the food chain.  Higher priority handlers
(paradoxically, lower life forms) who add events to the chain are
required to keep the memory for those events around, unmolested, until
1. They are invoked again the next time thru the chain, or 2. They
successfully RemHandler() themselves.  Handlers downstream are free
to modify the contents of the events in any fashion.  Making the event
null instead of Removing events will be faster for you, but will make
list traversal slower downstream: so consider this move in light of
total system performance (i.e. do you have (m)any handlers after you?).

- Kodiak