emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 53a3f3a: Handle tool bar size changes after x_set_f


From: Martin Rudalics
Subject: [Emacs-diffs] master 53a3f3a: Handle tool bar size changes after x_set_font.
Date: Wed, 04 Mar 2015 17:53:12 +0000

branch: master
commit 53a3f3ab17abd97f305c93416095fecac2e3f2e1
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    Handle tool bar size changes after x_set_font.
    
    * frame.c (x_set_font): Try to keep frame height and width
    unchanged if tool bar size changes with new font.
---
 src/ChangeLog |    7 ++++++-
 src/frame.c   |    1 +
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 8acca6c..e8fa72c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,9 +1,14 @@
+2015-03-04  Martin Rudalics  <address@hidden>
+
+       * frame.c (x_set_font): Try to keep frame height and width
+       unchanged if tool bar size changes with new font.
+
 2015-03-03  Eli Zaretskii  <address@hidden>
 
        * search.c (find_newline): Avoid assertion violations in
        CHAR_TO_BYTE when a portion of the buffer was deleted and we look
        for newlines near the end of the buffer.  This happens in Rmail
-       hen JIT font-lock fontifies a newly displayed portion of the
+       when JIT font-lock fontifies a newly displayed portion of the
        buffer.
 
 2015-03-03  Eli Zaretskii  <address@hidden>
diff --git a/src/frame.c b/src/frame.c
index bac2b24..aa07219 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3626,6 +3626,7 @@ x_set_font (struct frame *f, Lisp_Object arg, Lisp_Object 
oldval)
 #endif
   /* Recalculate toolbar height.  */
   f->n_tool_bar_rows = 0;
+  f->tool_bar_redisplayed_once = false;
 
   /* Ensure we redraw it.  */
   clear_current_matrices (f);



reply via email to

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