|
From: | HaiJun Zhang |
Subject: | bug#38731: [PATCH] Calculate first glyph to be redrawn when exposing (bug#38731) |
Date: | Mon, 30 Dec 2019 12:55:09 +0800 |
On Sat, Dec 28, 2019 at 08:27:35PM +0200, Eli Zaretskii wrote:
Date: Sat, 28 Dec 2019 11:20:13 +0000
From: Alan Third <alan@idiocy.org>
Cc: netjune@outlook.com, 38731@debbugs.gnu.org
A minimal, and possibly correct, fix is:
modified 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
This change LGTM, thanks. If it solves your problem, then we can
close this issue.
Thanks. Pushed to emacs-27.
--
Alan Third
[Prev in Thread] | Current Thread | [Next in Thread] |