mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
16 lines
422 B
Plaintext
16 lines
422 B
Plaintext
#import "OakBorderlessPanel.h"
|
|
|
|
@implementation OakBorderlessPanel
|
|
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag
|
|
{
|
|
styleMask |= NSBorderlessWindowMask;
|
|
styleMask &= ~NSTitledWindowMask;
|
|
return [super initWithContentRect:contentRect styleMask:styleMask backing:backingType defer:flag];
|
|
}
|
|
|
|
- (BOOL)isKeyWindow
|
|
{
|
|
return YES;
|
|
}
|
|
@end
|