emacs-devel
[Top][All Lists]
Advanced

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

Re: Redisplay issue


From: Yuan MEI
Subject: Re: Redisplay issue
Date: Wed, 2 Dec 2015 20:55:25 -0800

> When did you last update from the repository?  I believe this bug was
> solved a week ago, in commit d5fdffecdfad305d9c933ae3cad75a5e4e73878c.

OK, this problem is gone.

> If your sources include the changes in that commit, please show a GDB
> backtrace when Emacs aborts.
>
> A stub in the dark: does the change below fix the Cairo build, per
> chance?
>
> diff --git a/src/xdisp.c b/src/xdisp.c
> index d1a10ca..7221032 100644
> --- a/src/xdisp.c
> +++ b/src/xdisp.c
> @@ -30268,6 +30268,7 @@ expose_area (struct window *w, struct glyph_row *row, 
> XRectangle *r,
>    struct glyph *last;
>    int first_x, start_x, x;
>
> +  block_input ();
>    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,
> @@ -30310,6 +30311,7 @@ expose_area (struct window *w, struct glyph_row *row, 
> XRectangle *r,
>                      first - row->glyphs[area], last - row->glyphs[area],
>                      DRAW_NORMAL_TEXT, 0);
>      }
> +  unblock_input ();
>  }
>

Unfortunately this did not solve the problem.

And I noticed something: comparing with and without cairo, even though
the number of lines of text and other geometric parameters are
identical (no .Xdefaults or any changes in .emacs.d/, the window
(frame) height for with and without cairo are different.  Something
about font handling are different?

Thanks,

Yuan



reply via email to

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