Window collection behavior, remove from cycle?
Window collection behavior, remove from cycle?
- Subject: Window collection behavior, remove from cycle?
- From: Arbit Richardi <email@hidden>
- Date: Tue, 11 Oct 2011 17:37:13 -0700
I have a fullscreen window that should effectively disable window
cycling; because I've taken over the entire screen, it doesn't makes
sense to be able to bring other windows in front of the fullscreen
one.
NSWindow's NSWindowCollectionBehaviorIgnoresCycle collection behavior
only removes a window from the cycle -- command-tilde will still bring
other windows in front of the fullscreen one. This isn't quite what I
want.
I've got the desired behavior by watching for the fullscreen window's
NSWindowDidResignKeyNotification, and whenever the fullscreen window
resigned key, I make it key again. This seems a bit hacky, so my
question is: is there a better way to do this?
Thanks,
Arbit
_______________________________________________
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