ansani/vienna-rss — comment on commit a35e0a4d4b6c9319c0722d6212f08a077b24d277
File:  line 0
By barijaona:

For improved compatibility, I'd suggest the following (successfully tested on earlier systems) :

#if ( MAC_OS_X_VERSION_MAX_ALLOWED < 1070 && !defined(NSWindowCollectionBehaviorFullScreenPrimary) )
enum {
NSWindowCollectionBehaviorFullScreenPrimary = (1 << 7)
};
#endif

//Enable FullScreen Support if we are on Lion 10.7.x
[mainWindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];```

On 10.7, the behavior is honored by delegate methods (which will never be called on systems < 10.7)