comparison src/xterm.c @ 25302:0f10c1eaf8fb

(x_draw_glyph_string_box): Use the background width of the glyph string for the width of the box.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 17 Aug 1999 00:38:28 +0000
parents 621067279f19
children 5bcee7af1643
comparison
equal deleted inserted replaced
25301:2042c4a224ad 25302:0f10c1eaf8fb
3282 width = s->face->box_line_width; 3282 width = s->face->box_line_width;
3283 raised_p = s->face->box == FACE_RAISED_BOX; 3283 raised_p = s->face->box == FACE_RAISED_BOX;
3284 left_x = s->x; 3284 left_x = s->x;
3285 right_x = ((s->row->full_width_p 3285 right_x = ((s->row->full_width_p
3286 ? last_x - 1 3286 ? last_x - 1
3287 : min (last_x, s->x + s->width) - 1)); 3287 : min (last_x, s->x + s->background_width) - 1));
3288 top_y = s->y; 3288 top_y = s->y;
3289 bottom_y = top_y + s->height - 1; 3289 bottom_y = top_y + s->height - 1;
3290 3290
3291 left_p = (s->first_glyph->left_box_line_p 3291 left_p = (s->first_glyph->left_box_line_p
3292 || (s->hl == DRAW_MOUSE_FACE 3292 || (s->hl == DRAW_MOUSE_FACE