+ (void)load
{
/* init our fake object attribute */
- if( !blackoutWindows )
- blackoutWindows = [NSMutableArray arrayWithCapacity:1];
-}
-
-- (void)dealloc
-{
- [blackoutWindows makeObjectsPerformSelector:@selector(close)];
- [blackoutWindows removeAllObjects];
- [super dealloc];
+ blackoutWindows = [[NSMutableArray alloc] initWithCapacity:1];
}
+ (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID