mirror of
https://github.com/larstvei/nix-config.git
synced 2024-11-26 17:08:29 +00:00
26 lines
845 B
Diff
26 lines
845 B
Diff
|
diff --git a/src/nsterm.m b/src/nsterm.m
|
||
|
index 44979c7c04e..234a647bade 100644
|
||
|
--- a/src/nsterm.m
|
||
|
+++ b/src/nsterm.m
|
||
|
@@ -9022,6 +9022,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
|
||
|
styleMask = 0;
|
||
|
else
|
||
|
styleMask = (NSWindowStyleMaskTitled
|
||
|
+ | NSFullSizeContentViewWindowMask
|
||
|
| NSWindowStyleMaskResizable
|
||
|
| NSWindowStyleMaskMiniaturizable
|
||
|
| NSWindowStyleMaskClosable);
|
||
|
@@ -9109,6 +9110,12 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
|
||
|
#endif
|
||
|
}
|
||
|
|
||
|
+ [self setTitlebarAppearsTransparent:YES];
|
||
|
+ [self setTitleVisibility:NSWindowTitleHidden];
|
||
|
+ [[self standardWindowButton:NSWindowCloseButton] setHidden:YES];
|
||
|
+ [[self standardWindowButton:NSWindowMiniaturizeButton] setHidden:YES];
|
||
|
+ [[self standardWindowButton:NSWindowZoomButton] setHidden:YES];
|
||
|
+
|
||
|
return self;
|
||
|
}
|
||
|
|