nix-config/patches/my-no-titlebar.patch
larstvei 746ea0f434 Initial commit
Trying out nix on a new machine. I would think the install instructions are
under-specified. We'll see if this will turn out usable.
2022-09-18 18:30:24 +02:00

23 lines
791 B
Diff

diff --git a/src/nsterm.m b/src/nsterm.m
index 44979c7c04e..eee75641f61 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -9021,7 +9021,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
else if (f->tooltip)
styleMask = 0;
else
- styleMask = (NSWindowStyleMaskTitled
+ styleMask = (NSWindowStyleMaskBorderless
| NSWindowStyleMaskResizable
| NSWindowStyleMaskMiniaturizable
| NSWindowStyleMaskClosable);
@@ -9098,7 +9098,7 @@ - (instancetype) initWithEmacsFrame: (struct frame *) f
[self setOpaque:NO];
/* toolbar support */
- [self createToolbar:f];
+ // [self createToolbar:f];
/* macOS Sierra automatically enables tabbed windows. We can't
allow this to be enabled until it's available on a Free system.