emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105307: Fix title and toolbar not sh


From: Jan D.
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105307: Fix title and toolbar not shown in OSX 10.7.
Date: Sat, 23 Jul 2011 10:33:06 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105307
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sat 2011-07-23 10:33:06 +0200
message:
  Fix title and toolbar not shown in OSX 10.7.
  
  * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask
  for OSX >= 10.7.
modified:
  src/ChangeLog
  src/nsterm.m
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-07-23 07:42:56 +0000
+++ b/src/ChangeLog     2011-07-23 08:33:06 +0000
@@ -1,3 +1,8 @@
+2011-07-23  Jan Djärv  <address@hidden>
+
+       * nsterm.m (initFrameFromEmacs): Set NSTitledWindowMask in styleMask
+       for OSX >= 10.7.
+
 2011-07-22  Eli Zaretskii  <address@hidden>
 
        Fix a significant slow-down of cursor motion with C-n, C-p,

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2011-07-08 15:39:40 +0000
+++ b/src/nsterm.m      2011-07-23 08:33:06 +0000
@@ -5304,6 +5304,9 @@
   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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]