• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CGEventTap Not Receiving Events after some time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CGEventTap Not Receiving Events after some time
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Core data: Inverse relationships with subclasses
  • Next by Date: Accessing Scrollers in NSBrowser ?
  • Previous by thread: Re: Core Data inheritance across models?
  • Next by thread: Re: CGEventTap Not Receiving Events after some time
  • Index(es):
    • Date
    • Thread