1
2
3
4
5
6
7
8
9
10
11
12
13
14
@interface NSWindow (FullScreen)
- (BOOL)mn_isFullScreen;
@end
@implementation NSWindow (FullScreen)
- (BOOL)mn_isFullScreen
{
return (([self styleMask] & NSFullScreenWindowMask) == NSFullScreenWindowMask);
}
@end
refs:How to know if a NSWindow is fullscreen in Mac OS X Lion?