rem: handler->eventMask = eventMask; handler->proc = eventProc; handler->clientData = clientData;
add: hPtr->eventMask = mask; hPtr->proc = eventProc; hPtr->clientData = clientData;  WMAddToArray(view->eventHandlers, hPtr);
context: WMCreateEventHandler(WMView *view, unsigned long mask, WMEventProc *eventProc,		     void *clientData){    W_EventHandler *handler, *ptr;    unsigned long eventMask;    WMArrayIterator iter;    handler = NULL;    eventMask = mask;    WM_ITERATE_ARRAY(view->eventHandlers, ptr, iter) {	if (ptr->clientData == clientData && ptr->proc == eventProc) {	    handler = ptr;	    eventMask |= ptr->eventMask;	}    }    if (!handler) {	handler = wmalloc(sizeof(W_EventHandler));	WMAddToArray(view->eventHandlers, handler);    }    /* select events for window */    handler->eventMask = eventMask;    handler->proc = eventProc;    handler->clientData = clientData;}