# HG changeset patch # User Kim F. Storm # Date 1090444136 0 # Node ID ee3ccdb058d1fb096ee96cdfa2b57f2597e16e16 # Parent 8f77d7fac4d6a7b71ecfc9f3c3840c13ce6ee49d (struct glyph_matrix): New members nrows_scale_factor and ncols_scale_factor. diff -r 8f77d7fac4d6 -r ee3ccdb058d1 src/window.h --- a/src/window.h Wed Jul 21 21:08:45 2004 +0000 +++ b/src/window.h Wed Jul 21 21:08:56 2004 +0000 @@ -236,6 +236,11 @@ struct glyph_matrix *current_matrix; struct glyph_matrix *desired_matrix; + /* Scaling factor for the glyph_matrix size calculation in this window. + Used if window contains many small images or uses proportional fonts, + as the normal may yield a matrix which is too small. */ + int nrows_scale_factor, ncols_scale_factor; + /* Cursor position as of last update that completed without pause. This is the position of last_point. */ struct cursor_pos last_cursor;