mouse tracking outside a window & dock tracking area
mouse tracking outside a window & dock tracking area
- Subject: mouse tracking outside a window & dock tracking area
- From: edward m taffel <email@hidden>
- Date: Tue, 22 Apr 2014 10:50:45 -0400
during mouse tracking it is often convenient to register movement outside view bounds. unfortunately, if the cursor is set to other than arrow, movement outside the bottom of a window may enter the dock’s tracking area causing the cursor to change to arrow for the duration of the loop. it is possible to inhibit the dock’s tracking area in the regular case w/ a setPresentationOptions bracket, e.g.
NSApplication* a_= [NSApplication sharedApplication];
NSApplicationPresentationOptions pre_opt= [a_ presentationOptions];
[a_ setPresentationOptions:NSApplicationPresentationHideDock];
// ... tracking code
[a_ setPresentationOptions:pre_opt];
however, this has no effect in full screen mode—the cursor is still set to arrow.
does anyone (else) feel setPresentationOptions:NSApplicationPresentationHideDock should obtain equal result for both modes? in particular, why is this setting ignored in full screen? does anyone have a workaround?
_______________________________________________
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