comparison src/xterm.c @ 35506:5ad77d538e08

(x_new_font): Don't change a tooltip's size.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 24 Jan 2001 14:20:34 +0000
parents e92d3f50f8b8
children 1a9a88614b73
comparison
equal deleted inserted replaced
35505:d78861fb2713 35506:5ad77d538e08
11447 f->output_data.x->font->fid); 11447 f->output_data.x->font->fid);
11448 XSetFont (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc, 11448 XSetFont (FRAME_X_DISPLAY (f), f->output_data.x->cursor_gc,
11449 f->output_data.x->font->fid); 11449 f->output_data.x->font->fid);
11450 11450
11451 frame_update_line_height (f); 11451 frame_update_line_height (f);
11452 x_set_window_size (f, 0, f->width, f->height); 11452
11453 /* Don't change the size of a tip frame; there's no point in
11454 doing it because it's done in Fx_show_tip, and it leads to
11455 problems because the tip frame has no widget. */
11456 if (NILP (tip_frame) || XFRAME (tip_frame) != f)
11457 x_set_window_size (f, 0, f->width, f->height);
11453 } 11458 }
11454 else 11459 else
11455 /* If we are setting a new frame's font for the first time, 11460 /* If we are setting a new frame's font for the first time,
11456 there are no faces yet, so this font's height is the line height. */ 11461 there are no faces yet, so this font's height is the line height. */
11457 f->output_data.x->line_height = FONT_HEIGHT (f->output_data.x->font); 11462 f->output_data.x->line_height = FONT_HEIGHT (f->output_data.x->font);