(x_draw_glyphs): Don't call notice_overwritten_cursor
if OVERLAPS_P.
This commit is contained in:
parent
44368f8f78
commit
30c6d055a9
1 changed files with 6 additions and 1 deletions
|
@ -5040,7 +5040,12 @@ x_draw_glyphs (w, x, row, area, start, end, hl, overlaps_p)
|
|||
for (s = head; s; s = s->next)
|
||||
x_draw_glyph_string (s);
|
||||
|
||||
if (area == TEXT_AREA && !row->full_width_p)
|
||||
if (area == TEXT_AREA
|
||||
&& !row->full_width_p
|
||||
/* When drawing overlapping rows, only the glyph strings'
|
||||
foreground is drawn, which doesn't erase a cursor
|
||||
completely. */
|
||||
&& !overlaps_p)
|
||||
{
|
||||
int x0 = head ? head->x : x;
|
||||
int x1 = tail ? tail->x + tail->background_width : x;
|
||||
|
|
Loading…
Add table
Reference in a new issue