aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c9
2 files changed, 12 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index bb743bf8de6..a81c8c00939 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12001-11-28 Gerd Moellmann <gerd@gnu.org>
2
3 * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
4 OVERLAPS_P.
5
12001-11-28 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62001-11-28 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 7
3 * xdisp.c (message_dolog): Remove unused variables `gcpro2', 8 * xdisp.c (message_dolog): Remove unused variables `gcpro2',
diff --git a/src/xterm.c b/src/xterm.c
index 7edb0121763..c6ff4e6d08e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5186,7 +5186,12 @@ x_draw_glyphs (w, x, row, area, start, end, hl, overlaps_p)
5186 for (s = head; s; s = s->next) 5186 for (s = head; s; s = s->next)
5187 x_draw_glyph_string (s); 5187 x_draw_glyph_string (s);
5188 5188
5189 if (area == TEXT_AREA && !row->full_width_p) 5189 if (area == TEXT_AREA
5190 && !row->full_width_p
5191 /* When drawing overlapping rows, only the glyph strings'
5192 foreground is drawn, which doesn't erase a cursor
5193 completely. */
5194 && !overlaps_p)
5190 { 5195 {
5191 int x0 = head ? head->x : x; 5196 int x0 = head ? head->x : x;
5192 int x1 = tail ? tail->x + tail->background_width : x; 5197 int x1 = tail ? tail->x + tail->background_width : x;
@@ -5194,7 +5199,7 @@ x_draw_glyphs (w, x, row, area, start, end, hl, overlaps_p)
5194 x0 = FRAME_TO_WINDOW_PIXEL_X (w, x0); 5199 x0 = FRAME_TO_WINDOW_PIXEL_X (w, x0);
5195 x1 = FRAME_TO_WINDOW_PIXEL_X (w, x1); 5200 x1 = FRAME_TO_WINDOW_PIXEL_X (w, x1);
5196 5201
5197 if (!row->full_width_p && XFASTINT (w->left_margin_width) != 0) 5202 if (XFASTINT (w->left_margin_width) != 0)
5198 { 5203 {
5199 int left_area_width = window_box_width (w, LEFT_MARGIN_AREA); 5204 int left_area_width = window_box_width (w, LEFT_MARGIN_AREA);
5200 x0 -= left_area_width; 5205 x0 -= left_area_width;