Mercurial > emacs
changeset 34500:41ad2cf8ccb8
(display_tool_bar_line): Make sure that tool bar
lines start with a relief line.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 12 Dec 2000 20:04:08 +0000 |
parents | af86f7c0989d |
children | d89d0b796efd |
files | src/xdisp.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Tue Dec 12 19:00:34 2000 +0000 +++ b/src/xdisp.c Tue Dec 12 20:04:08 2000 +0000 @@ -7274,6 +7274,10 @@ prepare_desired_row (row); row->y = it->current_y; + + /* Note that this isn't made use of if the face hasn't a box, + so there's no need to check the face here. */ + it->start_of_box_run_p = 1; while (it->current_x < max_x) { @@ -7321,6 +7325,8 @@ extend_face_to_end_of_line (it); last = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA] - 1; last->right_box_line_p = 1; + if (last == row->glyphs[TEXT_AREA]) + last->left_box_line_p = 1; compute_line_metrics (it); /* If line is empty, make it occupy the rest of the tool-bar. */