]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix title and toolbar not shown in OSX 10.7.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 23 Jul 2011 08:33:06 +0000 (10:33 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 23 Jul 2011 08:33:06 +0000 (10:33 +0200)
* nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask
for OSX >= 10.7.

src/ChangeLog
src/nsterm.m

index ef60506e7242591b4c9f8fa99aedcd6f2fa948af..9b66b8f34ff56570af8c1b85cc4fc6bf68799d4e 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-23  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask
+       for OSX >= 10.7.
+
 2011-07-22  Eli Zaretskii  <eliz@gnu.org>
 
        Fix a significant slow-down of cursor motion with C-n, C-p,
index 546247ab74ac817dc39d35cbcc6c7a3f3d700f03..e45dc1a902d93208a27799cbe0d1f9fe36e6e93f 100644 (file)
@@ -5304,6 +5304,9 @@ ns_term_shutdown (int sig)
   win = [[EmacsWindow alloc]
             initWithContentRect: r
                       styleMask: (NSResizableWindowMask |
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
+                                  NSTitledWindowMask |
+#endif
                                   NSMiniaturizableWindowMask |
                                   NSClosableWindowMask)
                         backing: NSBackingStoreBuffered