On Feb 18, 2013, at 2:34 PM, Steve Mills <[email protected]> wrote:

> 
> Shouldn't I get a mouseExited message when I switch windows via command-` if 
> the mouse is still within my tracking area? If not, what do I have to do to 
> be notified when the window the view is no longer the active window?

I'm not certain of the answer to this question, but what does your 
-updateTrackingAreas look like? If you follow Apple's erroneous example and 
recreate your tracking are every time this method is called, you *will* drop 
-mouseExited: events on the floor.

A correct override of -updateTrackingAreas only creates and installs the 
tracking area if it has not already been created and installed. I don't know 
for certain if this fixes the window-changed situation.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to