projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d915b8c
)
Fix when expose draws partially visible first glyph (bug#38731)
author
Alan Third
<alan@idiocy.org>
Fri, 27 Dec 2019 16:16:37 +0000
(16:16 +0000)
committer
Alan Third
<alan@idiocy.org>
Sun, 29 Dec 2019 10:42:42 +0000
(10:42 +0000)
* 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
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 3080f8920a347e480a7e2170996d0ab12eab7bf1..623c55269372c58b0a93bd448e83b6c440c967fb 100644
(file)
--- 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