bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38731: [PATCH] Calculate first glyph to be redrawn when exposing (bu


From: Alan Third
Subject: bug#38731: [PATCH] Calculate first glyph to be redrawn when exposing (bug#38731)
Date: Sun, 29 Dec 2019 10:46:29 +0000

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





reply via email to

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