From: Alan Third Date: Fri, 27 Dec 2019 16:16:37 +0000 (+0000) Subject: Fix when expose draws partially visible first glyph (bug#38731) X-Git-Tag: emacs-27.0.90~262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=012c12a05e;p=emacs.git Fix when expose draws partially visible first glyph (bug#38731) * src/xdisp.c (expose_area): When the face extends to the end of the line draw text from the correct x coordinate. --- diff --git a/src/xdisp.c b/src/xdisp.c index 3080f8920a3..623c5526937 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -33491,7 +33491,7 @@ expose_area (struct window *w, struct glyph_row *row, const Emacs_Rectangle *r, if (area == TEXT_AREA && row->fill_line_p) /* If row extends face to end of line write the whole line. */ - draw_glyphs (w, 0, row, area, + draw_glyphs (w, row->x, row, area, 0, row->used[area], DRAW_NORMAL_TEXT, 0); else