Commit d3378f02 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(struct frame): New member already_hscrolled_p.

parent 2a85a754
......@@ -463,6 +463,10 @@ struct frame
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 @@ extern Lisp_Object selected_frame;
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment