• 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
Window collection behavior, remove from cycle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Window collection behavior, remove from cycle?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: CoreRecipes in Xcode4 ?
  • Next by Date: AVFoundation and kYUVSPixelFormat from AVPlayer
  • Previous by thread: Re: CoreRecipes in Xcode4 ?
  • Next by thread: Re: Window collection behavior, remove from cycle?
  • Index(es):
    • Date
    • Thread