Thread-topic: What to do with kCGEventTapDisabledBy...?
User-agent: Microsoft-Entourage/11.3.3.061214
What should an event tap callback function return when the triggering event
type is kCGEventTapDisabledByTimeout or kCGEventTapDisabledByUserInput?
I find that if I return an event of this type from the callback function, I
get a system error when the system tries to post the event.
If I return NULL from the callback when the event type is one of these
values, everything seems to work correctly. Is this the right thing to do?
(By the way, I notice that the event passed to the callback function with
one of these event types appears to yield valid values for flags, location
on the screen, and so on -- except that the timeout is always 0. Why doesn't
one of these event types have a valid timeout value?)
Bill Cheeseman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden