• 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 & CGPostMouseEvent incompatibilities?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGEventTap & CGPostMouseEvent incompatibilities?


  • Subject: CGEventTap & CGPostMouseEvent incompatibilities?
  • From: "Giovanni Donelli" <email@hidden>
  • Date: Thu, 19 Apr 2007 17:23:15 +0200

Dear All,
   has anyone ever experienced incompatibilities between CGEventTap and
CGPostMouseEvent?

I have an application that observes mouse clicks (with an CGEventTap) and
sporadically generates mousedowns (with CGPostMouseEvent).

Whenever the EventTap is active and I generate CGPostMouseEvent (mouse up
and down) my whole system UI freezes and I am able to return in control only
by pressing command-option-esc (force quit).

To fix that I am momentarily disabling the event tap and posting mouse
events. However if there are third parties application that uses CGEventTap,
like xgestures, then the UI will still freeze.

Any ideas?

Thank you guys!
Giovanni
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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 & CGPostMouseEvent incompatibilities?
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Detecting networks programmatically
  • Next by Date: Re: Detecting networks programmatically
  • Previous by thread: Re: Detecting networks programmatically
  • Next by thread: Re: CGEventTap & CGPostMouseEvent incompatibilities?
  • Index(es):
    • Date
    • Thread