When I create an event tap with  CGEventTapCreate(..) and add it to the runloop 
everything works as expected.
However, after some time (I don't know what triggers this) the event tap 
doesn't receive events anymore, until
I manually call CGEventTapEnable(..) again.

Any clues what could cause this? Are there any notifications for status changes 
that i should know about?

Regards, Erik

PS:

I checked if kCGEventTapDisabledByTimeout or kCGEventTapDisabledByUserInput are 
sent to my callback,
but that doesn't seem to be the case 
either._______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to