emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115426: Fix GNUStep toolbar not updating.


From: Jan D.
Subject: [Emacs-diffs] trunk r115426: Fix GNUStep toolbar not updating.
Date: Sun, 08 Dec 2013 12:59:18 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115426
revision-id: address@hidden
parent: address@hidden
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sun 2013-12-08 13:59:14 +0100
message:
  Fix GNUStep toolbar not updating.
  
  * src/nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/nsterm.m                   nsterm.m-20091113204419-o5vbwnq5f7feedwu-8747
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-12-08 12:18:13 +0000
+++ b/src/ChangeLog     2013-12-08 12:59:14 +0000
@@ -1,5 +1,7 @@
 2013-12-08  Jan Djärv  <address@hidden>
 
+       * nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating.
+
        * emacs.c (main): Call fixup_locale a second time for GNUStep.
 
 2013-12-08  Martin Rudalics  <address@hidden>

=== modified file 'src/nsterm.m'
--- a/src/nsterm.m      2013-12-07 16:48:12 +0000
+++ b/src/nsterm.m      2013-12-08 12:59:14 +0000
@@ -5682,6 +5682,11 @@
 
   if (! [self isFullscreen])
     {
+#ifdef NS_IMPL_GNUSTEP
+      // GNUStep does not always update the tool bar height.  Force it.
+      if (toolbar) update_frame_tool_bar (emacsframe);
+#endif
+
       extra = FRAME_NS_TITLEBAR_HEIGHT (emacsframe)
         + FRAME_TOOLBAR_HEIGHT (emacsframe);
     }


reply via email to

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