aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-14 12:40:08 +0000
committerGerd Moellmann2001-03-14 12:40:08 +0000
commit57ac7c8180a3b22289543c33cd9aab9ceb42d892 (patch)
tree7f436ed4b9ecb69037f1797e053f32a0b36e3a8a /src
parent56cd396575ac9f853a4c4a214e82b90993ad9d8e (diff)
downloademacs-57ac7c8180a3b22289543c33cd9aab9ceb42d892.tar.gz
emacs-57ac7c8180a3b22289543c33cd9aab9ceb42d892.zip
(x_draw_glyph_string_box): Don't draw a full-width
box just because the glyph row's full_width_p flag is set.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/xterm.c8
2 files changed, 10 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9ebda3d10e3..1a111f026a1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-03-14 Gerd Moellmann <gerd@gnu.org>
2
3 * xterm.c (x_draw_glyph_string_box): Don't draw a full-width
4 box just because the glyph row's full_width_p flag is set.
5
12001-03-13 Gerd Moellmann <gerd@gnu.org> 62001-03-13 Gerd Moellmann <gerd@gnu.org>
2 7
3 * xmenu.c (popup_activate_callback, popup_deactivate_callback): 8 * xmenu.c (popup_activate_callback, popup_deactivate_callback):
@@ -8,7 +13,7 @@
8 workaround code for LessTif; it doesn't work anymore. 13 workaround code for LessTif; it doesn't work anymore.
9 14
10 * xterm.c [USE_TOOLKIT_SCROLL_BARS && USE_MOTIF]: Don't include 15 * xterm.c [USE_TOOLKIT_SCROLL_BARS && USE_MOTIF]: Don't include
11 SscrollBarP.h. 16 Xm/ScrollBarP.h.
12 17
13 * xterm.c (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Don't 18 * xterm.c (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Don't
14 access private scroll bar data; it's no longer necessary with 19 access private scroll bar data; it's no longer necessary with
diff --git a/src/xterm.c b/src/xterm.c
index 4c90b835412..158db55612b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2487,7 +2487,7 @@ struct glyph_string
2487}; 2487};
2488 2488
2489 2489
2490#if 0 2490#if 1
2491 2491
2492static void 2492static void
2493x_dump_glyph_string (s) 2493x_dump_glyph_string (s)
@@ -3835,9 +3835,9 @@ x_draw_glyph_string_box (s)
3835 width = abs (s->face->box_line_width); 3835 width = abs (s->face->box_line_width);
3836 raised_p = s->face->box == FACE_RAISED_BOX; 3836 raised_p = s->face->box == FACE_RAISED_BOX;
3837 left_x = s->x; 3837 left_x = s->x;
3838 right_x = ((s->row->full_width_p 3838 right_x = (s->row->full_width_p && s->extends_to_end_of_line_p
3839 ? last_x - 1 3839 ? last_x - 1
3840 : min (last_x, s->x + s->background_width) - 1)); 3840 : min (last_x, s->x + s->background_width) - 1);
3841 top_y = s->y; 3841 top_y = s->y;
3842 bottom_y = top_y + s->height - 1; 3842 bottom_y = top_y + s->height - 1;
3843 3843