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: Eli Zaretskii
Subject: bug#38731: [PATCH] Calculate first glyph to be redrawn when exposing (bug#38731)
Date: Sat, 28 Dec 2019 20:27:35 +0200

> 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.





reply via email to

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