CGEventTap Not Receiving Events after some time
CGEventTap Not Receiving Events after some time
- Subject: CGEventTap Not Receiving Events after some time
- From: Erik Aigner <email@hidden>
- Date: Wed, 29 Sep 2010 21:52:17 +0200
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 (email@hidden)
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:
This email sent to email@hidden