/* ***************************** The DeskBrowse source code is the legal property of its developers, Joel Levin and Ian Elseth ***************************** */ #import "DBWebsposeWindow.h" @implementation DBWebsposeWindow - (id) initWithContentRect: (NSRect) contentRect styleMask: (NSUInteger) aStyle backing: (NSBackingStoreType) bufferingType defer: (BOOL) flag { if(self = [super initWithContentRect: contentRect styleMask: NSBorderlessWindowMask backing: NSBackingStoreBuffered defer: NO]) { // Switch back to this to have the Webspsosé window above everything else; don't do it if using the Keychain! // // [self setLevel: NSMainMenuWindowLevel + 1]; // [self setBackgroundColor: [NSColor whiteColor]]; } return self; } - (BOOL) canBecomeKeyWindow { return YES; } - (BOOL) canBecomeMainWindow { return YES; } @end