mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-23 18:47:57 +00:00
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.
This commit is contained in:
parent
d915b8c3f1
commit
012c12a05e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user