# HG changeset patch # User Gerd Moellmann # Date 972996668 0 # Node ID 006a1f5b5f4376ed321e3b311500e6e8db8b239b # Parent 4c21e73877c123af91c5341bb22199f2152581d6 (redisplay_tool_bar): Don't set fonts_changed_p if window height hasn't changed. diff -r 4c21e73877c1 -r 006a1f5b5f43 src/xdisp.c --- a/src/xdisp.c Tue Oct 31 12:42:51 2000 +0000 +++ b/src/xdisp.c Tue Oct 31 12:51:08 2000 +0000 @@ -7273,6 +7273,7 @@ { extern Lisp_Object Qtool_bar_lines; Lisp_Object frame; + int old_height = XFASTINT (w->height); XSETFRAME (frame, f); clear_glyph_matrix (w->desired_matrix); @@ -7280,7 +7281,8 @@ Fcons (Fcons (Qtool_bar_lines, make_number (nlines)), Qnil)); - fonts_changed_p = 1; + if (XFASTINT (w->height) != old_height) + fonts_changed_p = 1; } }