aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.h
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2005-07-18 20:59:25 +0000
committerKim F. Storm <[email protected]>2005-07-18 20:59:25 +0000
commitd3378f02fd3ed53fa1006da01fb6624235877b15 (patch)
tree34eabbed161902029d81cbd45c87eb7a7c8c9774 /src/frame.h
parent2a85a754f58752c07cd61b783364a3ccc9573b2d (diff)
(struct frame): New member already_hscrolled_p.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/frame.h b/src/frame.h
index d70b38d320..a2f5fc2fde 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -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)