diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/nsterm.m | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ef60506e72..9b66b8f34f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-07-23 Jan Djärv <[email protected]> + + * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask + for OSX >= 10.7. + 2011-07-22 Eli Zaretskii <[email protected]> Fix a significant slow-down of cursor motion with C-n, C-p, diff --git a/src/nsterm.m b/src/nsterm.m index 546247ab74..e45dc1a902 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -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 |