aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 41d63138069..0df19b097d6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-12-12 Gerd Moellmann <gerd@gnu.org>
2
3 * xdisp.c (display_tool_bar_line): Make sure that tool bar
4 lines start with a relief line.
5
12000-12-12 Eli Zaretskii <eliz@is.elta.co.il> 62000-12-12 Eli Zaretskii <eliz@is.elta.co.il>
2 7
3 * msdos.c (fast_find_position): Don't overstep the last window 8 * msdos.c (fast_find_position): Don't overstep the last window
diff --git a/src/xdisp.c b/src/xdisp.c
index bda00f34fca..11859e8d85b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7274,6 +7274,10 @@ display_tool_bar_line (it)
7274 7274
7275 prepare_desired_row (row); 7275 prepare_desired_row (row);
7276 row->y = it->current_y; 7276 row->y = it->current_y;
7277
7278 /* Note that this isn't made use of if the face hasn't a box,
7279 so there's no need to check the face here. */
7280 it->start_of_box_run_p = 1;
7277 7281
7278 while (it->current_x < max_x) 7282 while (it->current_x < max_x)
7279 { 7283 {
@@ -7321,6 +7325,8 @@ display_tool_bar_line (it)
7321 extend_face_to_end_of_line (it); 7325 extend_face_to_end_of_line (it);
7322 last = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA] - 1; 7326 last = row->glyphs[TEXT_AREA] + row->used[TEXT_AREA] - 1;
7323 last->right_box_line_p = 1; 7327 last->right_box_line_p = 1;
7328 if (last == row->glyphs[TEXT_AREA])
7329 last->left_box_line_p = 1;
7324 compute_line_metrics (it); 7330 compute_line_metrics (it);
7325 7331
7326 /* If line is empty, make it occupy the rest of the tool-bar. */ 7332 /* If line is empty, make it occupy the rest of the tool-bar. */