Skip to content

Instantly share code, notes, and snippets.

View jwintz's full-sized avatar

Julien Wintz jwintz

  • Inria
  • Sophia-Antipolis
View GitHub Profile
@jwintz
jwintz / emacs_natural_title_bar.patch
Last active March 31, 2017 10:29
Build emacs with a dark title bar on mac
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];