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

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

bug#22787: [PATCH] Allocate glyph matrices for the initial frame


From: martin rudalics
Subject: bug#22787: [PATCH] Allocate glyph matrices for the initial frame
Date: Wed, 24 Feb 2016 09:04:40 +0100

> After bd4de70f the initial frame is created without the glyph matrices
> allocated.  As a result Emacs in batch/daemon mode would crash when evaluating
> certain functions (e.g. line-pixel-height, window-text-pixel-size).
>
>
> * src/frame.c (make_initial_frame): Allocate glyph matrices.
>
> * src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.

Installed as tiny change on the emacs-25 branch.  Please have a look.

Thank you very much, martin





reply via email to

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