emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 012c12a: Fix when expose draws partially visible first glyph (b


From: Alan Third
Subject: emacs-27 012c12a: Fix when expose draws partially visible first glyph (bug#38731)
Date: Sun, 29 Dec 2019 05:45:44 -0500 (EST)

branch: emacs-27
commit 012c12a05e04ce0efefb41d4fd3a5be72293ee17
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>

    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.
---
 src/xdisp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 3080f89..623c552 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]