Commit 53a3f3ab authored by Martin Rudalics's avatar Martin Rudalics
Browse files

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.
parent 0ec2600a
2015-03-04 Martin Rudalics <rudalics@gmx.at>
* 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 <eliz@gnu.org>
* 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 <eliz@gnu.org>
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment