Skip to content

Instantly share code, notes, and snippets.

@spikex
Created October 7, 2011 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spikex/1271239 to your computer and use it in GitHub Desktop.
Save spikex/1271239 to your computer and use it in GitHub Desktop.
Emacs 23.3 Lion Title Bar Patch
diff --git a/src/nsterm.m b/src/nsterm.m
index 30b73c2..74347f0 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5106,7 +5106,8 @@ ns_term_shutdown (int sig)
win = [[EmacsWindow alloc]
initWithContentRect: r
- styleMask: (NSResizableWindowMask |
+ styleMask: (NSTitledWindowMask |
+ NSResizableWindowMask |
NSMiniaturizableWindowMask |
NSClosableWindowMask)
backing: NSBackingStoreBuffered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment