What causes CGEventTap to be automatically disabled?
What causes CGEventTap to be automatically disabled?
- Subject: What causes CGEventTap to be automatically disabled?
- From: eveningnick eveningnick <email@hidden>
- Date: Thu, 21 Oct 2010 22:31:15 +0300
Hello
i have an application that installs several active event taps (active
- those that can modify and filter events) into another application. I
activate them (CGEventTapEnable) and deactivate them only when my app
quits.
In some moments i find out (using application ET Testbench) that my
active event tap is disabled (when i have not called CGDisableEventTap
nowhere!). I am pretty sure, i am not calling
CGEventTapEnable(myactivetap, NO) nowhere else, except when my app
finishes.
What could cause that behavior?
Can another application "spit out" and disable my installed tap? What
could be the other reasons? I feel like i'm completely lost, i don't
know from what side to approach to this problem. what are the
conditions for OS X to automatically disable event tap? (like, calling
CGRelease, or quitting the process that had installed that tap)?
Thanks for any hint!
George
_______________________________________________
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