Mercurial > emacs
changeset 64477:def523ae062b
(struct frame): New member already_hscrolled_p.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 18 Jul 2005 20:59:25 +0000 |
parents | 37bb7eefbbc1 |
children | bb9cda6ee0d1 |
files | src/frame.h |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.h Mon Jul 18 20:59:09 2005 +0000 +++ b/src/frame.h Mon Jul 18 20:59:25 2005 +0000 @@ -463,6 +463,10 @@ realized. Reset to zero whenever the default face changes. Used to see the difference between a font change and face change. */ unsigned default_face_done_p : 1; + + /* Set to non-zero if this frame has already been hscrolled during + current redisplay. */ + unsigned already_hscrolled_p : 1; }; #ifdef MULTI_KBOARD @@ -821,13 +825,13 @@ Display-related Macros ***********************************************************************/ -/* Canonical y-unit on frame F. +/* Canonical y-unit on frame F. This value currently equals the line height of the frame (which is the height of the default font of F). */ #define FRAME_LINE_HEIGHT(F) ((F)->line_height) -/* Canonical x-unit on frame F. +/* Canonical x-unit on frame F. This value currently equals the average width of the default font of F. */ #define FRAME_COLUMN_WIDTH(F) ((F)->column_width)