Re: No mouseExited when switching windows
Re: No mouseExited when switching windows
- Subject: Re: No mouseExited when switching windows
- From: Kyle Sluder <email@hidden>
- Date: Wed, 20 Feb 2013 09:42:24 -0800
On Wed, Feb 20, 2013, at 08:21 AM, Steve Mills wrote:
> Because with proper Cocoa event, you're given everything you need rather
> than having to get it via brute force (get global point, convert to
> window coords, and convert to view coords). I was hoping someone might
> point out something that would do it the right way that I'm not aware of.
This isn't true. Events come in different flavors. You can't ask for the
mouse position for a flags-changed event, for example. Since the mouse
is decoupled from any individual application, it makes sense to
sometimes ask for its current position outside of the event stream.
--Kyle Sluder
_______________________________________________
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