Skip to content

Instantly share code, notes, and snippets.

Avatar

Julien Wintz jwintz

  • Inria
  • Sophia-Antipolis
View GitHub Profile
@jwintz
jwintz / emacs_natural_title_bar.patch
Last active Mar 31, 2017
Build emacs with a dark title bar on mac
View emacs_natural_title_bar.patch
diff --git a/src/nsterm.m b/src/nsterm.m
index b03ad52621..edc77adfc0 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6744,6 +6744,9 @@ - (BOOL)isOpaque
[win setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
#endif
+ win.titlebarAppearsTransparent = true;
+ win.appearance = [NSAppearance appearanceNamed:NSAppearanceNameVibrantDark];