Mercurial > emacs
changeset 70198:29a0b82dbf7a
(x_set_font): Clear f->n_tool_bar_rows and current frame
matrices to force recalculation of tool-bar height after font change.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sun, 23 Apr 2006 22:26:58 +0000 |
parents | ef912c974d32 |
children | 4a716172f505 |
files | src/frame.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Sun Apr 23 22:26:35 2006 +0000 +++ b/src/frame.c Sun Apr 23 22:26:58 2006 +0000 @@ -3095,6 +3095,11 @@ else if (!NILP (Fequal (result, oldval))) return; + /* Recalculate toolbar height. */ + f->n_tool_bar_rows = 0; + /* Ensure we redraw it. */ + clear_current_matrices (f); + store_frame_param (f, Qfont, result); recompute_basic_faces (f); }